Some things in their code I don't understand. What's the relationship
between the ID and the class?
ID can only be applied to a single tag on a page. Class can be applied
to any number of tags.
<div id="styleswitchheader" class="hidden">
How can a class attribute have more than one entry?
<body class="highc smallfont leftalign">
This is legal. It means that the body has three different classes.
Rules for each class will apply
Can divs be used without a closing tag like this (or maybe I missed them).
<div id="container"><div id="leftedge"><div id="rightedge">
NO! It is sloppy code to not close (almost) ANY tag. <div> must have a
matching </div>
If you are using xhtml then you can do this: <br /> for any tags that
contain no text. In html, tags that contain no text are not closed.
Joel Goldstick
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/