Previous Message
Next Message

Rule of Thumb For Naming Classes/IDs?

Sent by Philippe Wittenbergh on 31 March 2011 04:04


On Mar 31, 2011, at 12:09 AM, Elli Vizcaino wrote:

> So I guess, in essence the answer is NO you cannot begin a class or ID name with numeric
characters?

The answer is no. Isn't the css2.1 spec clear enough ?
<http://www.w3.org/TR/CSS21/syndata.html#characters>

>
http://stackoverflow.com/questions/448981/what-characters-are-valid-in-css-class-names#answer-449000

That discussion thread is absolute confusing, and mixing rules for property names with rules for
class and id names.



Philippe
--
Philippe Wittenbergh
http://l-c-n.com/






______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread:

Possibly related: