Previous Message
Next Message

Upper/lower case standards for css?

Sent by Zoe M. Gillenwater on 30 August 2004 18:06


Les Mizzell wrote:

> Style names
> -------------
> secONE
> secTWO
> secTHREE


I'd give your selectors more meaningful names.  This makes your CSS more 
flexible, easier to edit and debug, and more future-proof.  What if 
later down the road you have to add another section before "secONE"?  
What will you call it?  "secONEa"?  "secFIRST"?  Instead, use names that 
describe the content in that section.

In terms of camel case or lowercase (or hyphens, or dashes, ...) that is 
a personal decision.  Hooray liberty!

Zoe

-- 
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu

______________________________________________________________________
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

Message thread: