Just curious about differences I've seen in some stylesheets I've downloaded
and studied.
Sometimes people just write their id's as:
#idName {}
Other times I see the "div" in front such as:
div#idName
Since id's are unique anyway what's the difference here? Does the one
without the "div" explicitly stated NOT work in some cases?
I've also seen similar with classes, but that seems easier to understand,
although I'm not sure I understand why a person couldn't just state the
class name also then apply it to whatever tag they want instead of being
explicit with it in the CSS rules.
Christopher Akins
Web Coordinator
Public Information Office - City of Springfield, MO
www.springfieldmogov.org
417-864-1118
"Everywhere is walking distance if you have the time." - Steven Wright
______________________________________________________________________
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/