On 22/5/09 13:02, Michael A. Peters wrote:
If I recall - it is illegal to end a css class name is a number.

Those are actually id names not class names, but it's not illegal in either case.

HTML "id" attributes must follow this:


XML "id" attributes must follow this:


The "class" attribute is a CDATA list:


Pretty much the only thing illegal in a classname is whitespace.

You may be thinking of the restriction that HTML/XML "id" attributes may not /begin/ with a number.

Benjamin Hawkes-Lewis

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to