On Aug 16, 2007, at 5:49 PM, Nick Fitzsimons wrote: > There's nothing wrong with starting an id with a capital letter: > <http://www.w3.org/TR/html4/types.html#type-name> > "ID and NAME tokens must begin with a letter ([A-Za-z])..." > > even in XHTML, which follows the XML spec: > <http://www.w3.org/TR/2006/REC-xml-20060816/#id> > "Values of type ID MUST match the Name production." > <http://www.w3.org/TR/2006/REC-xml-20060816/#NT-Name> > "[5] Name ::= (Letter | '_' | ':') (NameChar)*" > <http://www.w3.org/TR/2006/REC-xml-20060816/#NT-Letter> > "[84] Letter ::= BaseChar | Ideographic " > <http://www.w3.org/TR/2006/REC-xml-20060816/#NT-BaseChar> > "[85] BaseChar ::= [#x0041-#x005A]" (continues > at length...)
But <http://www.w3.org/TR/CSS21/syndata.html#characters> [quote] In CSS, identifiers (including element names, classes, and IDs in selectors) can contain only the characters [a-z0-9] and ISO 10646 characters U+00A1 and higher, plus the hyphen (-) and the underscore (_); they cannot start with a digit, or a hyphen followed by a digit. [/quote] Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com> ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- 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/