A Conversation for Website Developer's Forum

CSS Reserved words

Post 1

C Hawke

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

Post 2

dElaphant (and Zeppo his dog (and Gummo, Zeppos dog)) - Left my apostrophes at the BBC

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?
smiley - dog


CSS Reserved words

Post 3

C Hawke

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

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."

Write an entry
Read more