Re: class names containing underscores
by "Eric A. Meyer" <eam3(at)po.cwru.edu>
|
Date: |
Mon, 21 Feb 2000 13:33:01 -0500 |
To: |
hwg-style(at)hwg.org |
References: |
1lhta |
|
todo: View
Thread,
Original
|
|
>has anyone else run into this problem of not being able to use underscores
>in class names?
It isn't a problem. Netscape is correctly following the CSS grammar,
which does not allows the use of underscore characters in class names. In
fact, the only permitted characters are a-z, A-Z, 0-9, and the dash (-).
Other browsers may accept class names with underscores, but they do so in
error.
--
Eric A. Meyer - eam3(at)po.cwru.edu - http://www.cwru.edu/home/eam3.html
Editor, Style Sheets Reference Guide http://style.webreview.com/
Coordinator, W3C CSS Test Suite http://www.w3.org/Style/CSS/Test/
Member, WSP CSS Technical Committee http://www.webstandards.org/
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA