Skip to: content, navigation

by Ian Lloyd

User-contributed notes

ID:
#2
Date:
Wed, 04 Jun 2008 04:16:45 GMT
Contributed by:
Toby Somerville

TO check the CSS specification for CSS identifiers go to:

http://www.w3.org/TR/CSS21/syndata.html#characters

ID:
#1
Date:
Tue, 11 Mar 2008 10:17:18 GMT
Contributed by:
ccooke

Value:
According to CSS 2.1 spec section 4.1.3 "... identifiers (including ... classes and IDs ... cannot start with a digit"

Add a note

To post a note on this topic, please log in with your SitePoint username and password. If you don't have an account yet, you can create a new account for free.

Related Products

The Principles of Beautiful Web Design

Best Seller!

You don’t need to go to Art School to design great looking web sites!

Book Cover: The Principles of Beautiful Web Design

Download the FREE sample chapters