Why if I use a : in a id.. my document validates.. and is allowed by w3c.
like: id="position:top"
http://www.w3.org/TR/REC-html40/types.html#type-name
But cannot be used in css and will throw and error?
Unknown pseudo-element or pseudo-class :top
I know that there are some default pseudo classes... but if allow it in an id why now allow css to reference it (if no conflicts with pseude classes)



I know that there are some default pseudo classes... but if allow it in an id why now allow css to reference it (if no conflicts with pseude classes)







Bookmarks