[thelist] Rules for CSS Style Names
kevin D. white
kevin.white at bitshift.ws
Fri Mar 15 10:28:01 CST 2002
From: "Clive Sweeney" <clive at imageassociates.com>
> Very quick questions. I was just running a style sheet through the W3C's
CSS
> Validation Service and it returned a "parse error" on three styles. The
only
> thing I see in common is that they all contain an underscore in the style
> name. Is this a problem for browsers or just for the validator?
Netscape 4.x goes all woozy over underscores in CSS Class & ID names. I
think they are disallowed in the CSS standard as well. Best to just
completely avoid underscores in CSS names.
More information about the thelist
mailing list