Am 31.03.2011 13:12 schrieb Barney Carroll:

But even from that angle, can this be considered good practice? Isn't
it contrary to the specification's intentions in forbidding digit-led
identifiers using the standard methods? Would you genuinely suggest
this advice to the OP, or is this purely an exercise in exploiting
spec loopholes?

I could imagine a hypothetic Web application that generates class names from any other information, which may start with a digit. Thus class names may not even be known at coding time. In that case, escaping all digits might be a valuable alternative.

A simpler question, that has still yet to be answered, is why
digit-led class or id identifiers are banned in the first place. Alan,
Phil — any ideas?

Interesting question I was wondering about since I learnt CSS.
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
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/

Reply via email to