- From: Eric A. Meyer <emeyer@sr71.lit.cwru.edu>
- Date: Tue, 7 Apr 1998 11:55:43 -0500
- 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 Hmmm... you're right. I'll have to decide how I want to handle this one. -- Eric A. Meyer - eam3@po.cwru.edu - http://www.cwru.edu/home/eam3.html Hypermedia Systems Manager Digital Media Services http://www.cwru.edu/dms/dms.html Case Western Reserve University http://www.cwru.edu/
Received on Tuesday, 7 April 1998 12:10:08 UTC