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 than 'right' is a good
idea in that it doesn't restrict where you might place that 'news'
column on the page. However, I would hesitate to label a column 'news'
because on one page the column may contain news, whilst on another it
might contain something completely different.

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

_________________________
http://www.paulsturgess.co.uk
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to