[thelist] Rules for valid css class names

raskenbo raskenbo at gmail.com
Thu Mar 10 13:28:50 CST 2005

On Thu, 10 Mar 2005 13:59:56 -0500, Dave Merrill <dmerrill at usa.net> wrote:
> Can anyone point me to the rules for what constitutes a legal css class
> name? The Class Selectors section of the w3 css21 spec doesn't say.
> More specifically, can class names begin with a digit? I thought not, but I
> can't put my finger on where I saw that. I've been given some code that uses
> classes like this, and I'm wondering if it ought to be tweaked.
> Dave Merrill


Ken Chase
Freelance Web Design

More information about the thelist mailing list