Reese wrote: > Earlier today, while reviewing the Web site of a potential client, I > saw in the HTML source code several classifier names that looked wrong > to me. These are copied from the potential client's HTML page: > > <div class="headerLogo pink"> > > <div class="pseudoH1 white"> > > <div class="menuItem pseudoH2"><A > > <div class="float-wrap"> > > <div class="wide bottom clear"> >
Those are all valid class names. "wide bottom clear" refers to three separate classes, named "wide", "bottom" and "clear" respectively. >From the W3C CSS 2 spec [0]: "In CSS2, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [A-Za-z0-9] and ISO 10646 characters 161 and higher, plus the hyphen (-); they cannot start with a hyphen or a digit. They can also contain escaped characters and any ISO 10646 character as a numeric code (see next item). For instance, the identifier "B&W?" may be written as "B\&W\?" or "B\26 W\3F"." Regards, Ron [0] http://www.w3.org/TR/REC-CSS2/syndata.html [section 4.1.3 Characters and Case] ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/