I've been using the dash and period in ID names a lot recently (part of
an unobtrusive DOM scripting set of functions I've been developing) and
not found any problems yet in any of the Win browsers. Whether IDs
formatted like this "functionName.-fe-4r-6s-ef-s5-ef.2000" will work in
older browsers or different operating systems I'm kind of crossing my
fingers about!

Chris

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Peter J. Farrell
Sent: 08 July 2005 01:25
To: [email protected]
Subject: Re: [WSG] are underscores a problem

Richard Czeiger wrote:

> Does that mean the best way to go fro ID, Class Names, Variables, 
> etc... is interCaps (also known as CamelCase or lowerCamelCase) ?
>
> http://en.wikipedia.org/wiki/CamelCase
>
> R

I've adopted lowerCamelCase for nearly everything of my programming
guideline except when dealing with databases (in which I use all lower
with typical underscores) and class names in Java.  As programmed other
languages before CSS.  Plus lowerCamelCase makes it easier to read than
a something named with a ton of underscores.

An example from today's work (non-CSS):
errorHandler.invalidPropertyName
vs
error_handler.invalid_property_name

Best,
.Peter

--
Peter J. Farrell :: Maestro Publishing

blog    :: http://blog.maestropublishing.com
email   :: [EMAIL PROTECTED]

Create boilerplate beans!
Check out the Mach-II Bean Creator - free download.
http://blog.maestropublishing.com/mach-ii_beaner.htm

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

Reply via email to