I'm pretty sure this is not a bug, how do you think user agents handle the following:
HTML: <a href="myanchor:hover">A bad ID string</a> CSS: a#myanchor:hover {color:#000;} Will the anchor be black automatically or only when a cursor hovers over it? According to CSS2 and above, colons are reserved for defining psuedo-classes (:hover,:first-child, etc). The document you're referencing below is a an older and broader guide of what valid HTML (as a subset of SGML) is, but does not cover the interpretation that must take place between CSS and (X)HTML documents. - jake On 5/8/07, Plamen Mishev <[EMAIL PROTECTED]> wrote:
It seems that using a ":" sign in a CSS selector by id in jQuery does not work. Since having ":" is valid in ids and names according to w3c (http:// www.w3.org/TR/html4/types.html#type-cdata), I assume it is a bug in jQuery?