Previous Message
Next Message

A question about the best practice to name css styles - Thanks for the replies!

Sent by Mikhail Bozgounov on 14 June 2005 08:08


<quote>
Note: id and class names are case sensitive in XHTML, even when served
as text/html.
[...]
Choosing short, clear names goes a long way.
</quote>

This is true! #navBar and #navbar are *not* the same, and best is to stick to 
short, descriptive names of classes and IDs, all lowercase. Still, sometimes two 
or more words should be used for better description, and in this case, if being 
just careful, #someTwoOrThreeWordsName is easier to read/remember than 
#sometwoorthreewordsname:)

Best, Michel

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/
Previous Message
Next Message

Possibly related: