Re: urgent CSS question

From: Date: Fri, 22 May 2009 12:19:49 +0000
Subject: Re: urgent CSS question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-292932@lists.php.net to get a copy of this message
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: http://www.w3.org/TR/html401/types.html#type-id XML "id" attributes must follow this: http://www.w3.org/TR/REC-xml/#NT-Name The "class" attribute is a CDATA list: http://www.w3.org/TR/html401/types.html#type-cdata 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

« previous php.general (#292932) next »