Permalink
Tosh on development and ie6
  • vote
    1
    0 starsTosh | Shared With: Everyone - Mar 15 2008 | css, development, ie6

    Quoted: The Star-HTML Hack
    The star-HTML hack is based on a bug of IE6’s DOM. The correct implementation for a HTML document would be to have the <html> element as the root element, but for some reason IE6 has a hidden element as the root element, which has the <html> element as its child.
    ...
    Because of this mysterious parent element in IE6, we can use the descendant selector to apply CSS rules to IE6 only.
    ...
    For instance, the * html p selector tells user agents to apply a style to a <p> element, which is a descedant of the <html> element, which is a descendant of any element.

1 - 1 of 1 Faves

Related Content from Around Faves

developer

VIEW ALL

css

VIEW ALL