Overall a good intro but I picked up what look to me like some errors.
First:
Code:
<link rel="stylesheet" type="text/css" href="yourfile.css" title="Your Title" />
I think that
or
should be added to that before the tag ends. What this does is specifies the media which the style sheet should be used on. for example
that stylesheet will be used only when a user prints the page or in a print preview.
Next, Mayo says
Quote:
|
IDs work exactly the same way as classes. The reason it exists is to allow you to incorporate Style Sheet models into JavaScript or DHTML. So, unless you are attempting to use these with JavaScript, stick with the CLASS command
|
. This is also wrong. There
are differences between IDs and classes. With an ID you identify an element to be a unique element in the document. Classes on the other hand can be applient to any number of elements any number of times within a document. I beleive that standards say that IDs should be used to identify those unique elements: for example a <div id="head"> that would be used as the header for the page, etc. Classes rather, should be used to style paragraphs, for example if you want a certain <p> to look a certain way on a page, but it appears multiple times you should use <p class="special">.
Go ahead, get mad at me. The tutorial has errors that should be fixed.