At 11:54 AM 11/29/2005, Mark Fredrickson wrote: >Here's a general question about CSS that I've been able to quite figure out. >If one has a DIV that will only appear once per page, which should one use: >a class or an id?
This is a FAQ, and as such it appears on the CSS-D Wiki. See <http://css-discuss.incutio.com/?page=ClassesVsIds>. It is worth your time to just browse the Wiki for awhile. For the situation you describe, either will work, but the ID is definitely more specific. See <http://www.w3.org/TR/CSS21/cascade.html#specificity> for the details on that subject. HTH, -Adam Kuehn ______________________________________________________________________ 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/