On 5/5/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:


Su wrote:
>
> On 5/3/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
>> Can jQuery access the <HTML> node and add a class to it?
>> Is this invalid XHTML?
>
> Class is invalid on the HTML element, but you /can/ assign an ID.
> Given that there should never be more than one HTML element in a doc,
> this is less a restriction than just proper behavior, if you really
> think about it.

Unfortunately it seems that id is invalid as well:
http://www.w3.org/TR/html401/struct/global.html#h-7.3


-- Klaus


So I am back to where I started.  Shouldn't put anything on the HTML tag and
there is no AND operation in CSS.
Seems like a blatant oversight by IE6 developers.  They have OR with the
comma, and no AND.  Boooo IE6.

Glen

Reply via email to