Read this:
http://www.westciv.com/courses/free/week_05/managing_files.html
and Tantek's presentation today at WE05, especially "meaningful class names" part
http://tantek.com/presentations/2005/09/elements-of-xhtml/
Cheers, Irina.
On 9/30/05, Nick Gleitzman <[EMAIL PROTECTED]> wrote:
James Oppenheim wrote:
> I tend to use underscore for class and id, try very much to stay away
> from two word file names.
This is a question (discussion?) that comes up every couple of months
here on the list - ultimately, I reckon you'll get as many
'conventions' in use as you've offered suggestions. I think it's very
much down to the individual - and the ease with which other members of
a team (or inheritors of legacy code) can work with your css.
I believe there are strong arguments for creating filenames that result
in logical, human-readable URLs.
Underscores in class & id names are not a good idea - some browsers
don't read them properly, and the styles aren't rendered properly, if
at all... from memory, an early Safari was one such.
HTH
N
___________________________
Omnivision. Websight.
http://www.omnivision.com.au/
******************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************
