- From: Philippe Le Hegaret <Philippe.Le_Hegaret@sophia.inria.fr>
- Date: Mon, 06 Apr 1998 23:47:17 +0200
- To: www-style@w3.org
> In the section on class as selectors, > http://www.cwru.edu/dms/homes/eam3/css-test/sec14.htm > > you declare: > > .1 {color: green;} > > but I thought that name and id tokens had to begin with a letter > (A-Za-z), then could be followed by any number of letters, digits, > hyphens, underscores, colons, and periods. No, not for CSS1. .1 is allowed. This was a problem : .12em could be a length or a class (depends on the context). In CSS2, digits are not allowed at this position. So .1 is invalid in CSS2 and should be write like this : .\1 Philippe. --------- Philippe Le Hegaret Philippe.Le_Hegaret@sophia.inria.fr -- http://www.inria.fr/koala/plh/ KOALA/DYADE/BULL @ INRIA (Stagiaire) - Sophia Antipolis
Received on Monday, 6 April 1998 17:47:20 UTC