I try to avoid words like left and right. I use navOne, navTwo for primary and secondary navigation. It works quite well for me.
> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of James Oppenheim > Sent: Thursday, 29 September 2005 11:25 PM > To: [email protected] > 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"></div> > <div id="right_col"></div> > <div id="right-column"></div> > <div id="right_column"></div> > <div id="rightcol"></div> > <div id="rightcolumn"></div> > <div id="right"></div> > > What about for file names. > > naming_conventions.html > naming-conventions.html > namingconventions.html > namingConventions.html > conventions.html > > I tend to use underscore for class and id, try very much to stay away from > two word file names. > > Also, I have noticed that many people use directories and the index of > each > rather than file names. I.E. > http://www.companyname.com.au/stuff/conventions > > Is this for accessibility? > > Sorry about the question of three parts, but what do guys you think? > > > ****************************************************** > The discussion list for http://webstandardsgroup.org/ > > See http://webstandardsgroup.org/mail/guidelines.cfm > for some hints on posting to the list & getting help > ****************************************************** ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
