A Conversation for Website Developer's Forum
CSS Reserved words
C Hawke Started conversation Apr 24, 2004
Now I was sure that such a thing as a list of reserved words for CSS should have been an esay thing to find, but after 10 minutes or so I had no luck so I thought I'd post here.
I am guess that "NAV" is one as a custom class .NAV was not liked at all by Gecko based browsers (IE of course worked fine as it must ignore such things)
Cheers
CHawke
CSS Reserved words
dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC Posted Apr 24, 2004
I just gave it a try, a ".NAV" class worked fine for me in Mozilla 1.6. Are you sure you don't have some other kind of syntax error, typo, or mismatch of some sort?
CSS Reserved words
C Hawke Posted Apr 24, 2004
Nope - changed it to .navigation and it worked totally differently - I'd like to say "worked right" but there are still things I need to sort - but it was the way it acted totally differently with a name change that got me thinking.
Regardless (and BTW thanks), there must be a list somewhere of words not to use for classes.
CHawke
Key: Complain about this post
CSS Reserved words
More Conversations for Website Developer's Forum
Write an Entry
"The Hitchhiker's Guide to the Galaxy is a wholly remarkable book. It has been compiled and recompiled many times and under many different editorships. It contains contributions from countless numbers of travellers and researchers."