On 5/23/05, jlfx intermedia, llc <[EMAIL PROTECTED]> wrote: > Some things in their code I don't understand. What's the relationship > between the ID and the class? > > <div id="styleswitchheader" class="hidden">
There is no relationship. Classes and ids are independent pieces of data (although you can write a selector which matches only elements of a specific class AND a specific ID). > How can a class attribute have more than one entry? > <body class="highc smallfont leftalign"> By seperating them with spaces like that. This is described in the HTML spec. > Can divs be used without a closing tag like this (or maybe I missed them). > <div id="container"><div id="leftedge"><div id="rightedge"> The end tag for <div> elements is not optional - but one div can sit inside another. -- David Dorward <http://dorward.me.uk><http://blog.dorward.me.uk> ______________________________________________________________________ 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/