Re: [WSG] CSS class and id naming conventions

2005-09-30 Thread Alan Trick
If at all possible don't use class names that describe the way something looks, but more what the thing actually is. I find that using names that discribe the style of something will almost always come back to bite you. And depending on how large you project is, it can bite pretty hard. I was

RE: [WSG] CSS class and id naming conventions

2005-09-30 Thread Glen Wallis
@webstandardsgroup.org Subject: [WSG] CSS class and id naming conventions Hi all, Does anyone know of a set of naming conventions for css classes and ids? Should they have semantic meaning? I.E. address rather than bottom. How should you go about naming the right column div. div id=right-col

Re: [WSG] CSS class and id naming conventions

2005-09-30 Thread Paul Sturgess
I like to opt for naming conventions that work across all pages of the site and all layouts where possible. The suggestions mentioned by others of nav and navSub are ones I always use. Be careful though not to get carried away with content specific naming. Giving a column an id of 'news' rather

[WSG] CSS class and id naming conventions

2005-09-29 Thread James Oppenheim
Hi all, Does anyone know of a set of naming conventions for css classes and ids? Should they have semantic meaning? I.E. “address” rather than “bottom”. How should you go about naming the “right column” div. div id=”right-col”/div div id=”right_col”/div div id=”right-column”/div div

Re: [WSG] CSS class and id naming conventions

2005-09-29 Thread James Gollan
Whilst it won't affect accessibility or usability for the end user (afaik) the class and id names should have semantic meaning indicating there logical function - rather than id=rightColumn you might use id=localNavColumn if the function of the column was to contain local nav. This means if

Re: [WSG] CSS class and id naming conventions

2005-09-29 Thread Nick Gleitzman
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

Re: [WSG] CSS class and id naming conventions

2005-09-29 Thread Irina Ahrens
James, 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, NickGleitzman [EMAIL PROTECTED] wrote: James