On 5/13/05, Marty Martin <[EMAIL PROTECTED]> wrote: > This may be a dumb question, but I noticed you can give an ID (and I > assume also CLASS) a solely numeric value. If I start it with a alpha > character then all is hunky dory, but I want it to be a number. What > gives? Is there rationale for this? > > Just looking for an explanation if anyone knows, thanks! > > ie: > > div#01 { width: 100%; } == no good >
I doubt that will pass the XHtml or CSS validators. IMHO names (like IDs, classes, etc) must start with an alpha. -- Justin Patrin ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/