Okay I have some simple CSS questions I hope someone doesn’t mind answering.
When I am in HTML and I want to put a Class to a section I obviously put the name of the CSS class in the tag. But from the CSS page shouldn’t I be putting a dot in front of the style for the CSS to find it? Or don’t I have to do that.
I found this CSS in a tutorial and am a little confused. Since I put the dot before.body the class finds this style. But what are the other characters for?
The period (.) preceding a name matches the class and is a ‘class selector’ as was mentioned above. For the ‘ID selectors’ you use a preceding hash (#) immediately followed an ID value, which is within [your] HTML document (and the ID name has to be unique occurrence within the markup).
The plain (x)html element, will match any tag, i.e. (h3) that occurs in the markup and has the same name; it doesn’t necessarily have to be a pre-recognised Element. As long as the ID value matches the document it is linked to - though for HTML 4.01 it will be one or more of the tags in HTML language grammar.
The :link ‘pseudo-class’ applies for links that have not yet been visited, and so forth.
I’m not sure if I understand you completely, hte text on that page is completley fine :). Normally, styled text makes it harder for the user to read. Black text o nwhite background is usually fine.
You might want to check out a different font though. It looks bland