CSS Filter - Star HTML Hack

Star HTML Hack

The html element is the root element of the W3C standard DOM, but Internet Explorer versions 4 through 6 include a mysterious parent element. Fully compliant browsers will ignore the * html selector, while IE4-6 will process it normally. This enables rules to be specified for these versions of Internet Explorer which will be ignored by all other browsers. For example, this rule specifies text size in Internet Explorer 4-6, but not in any other browsers.

* html p {font-size: 5em; }

This hack uses fully valid CSS.

Read more about this topic:  CSS Filter

Famous quotes containing the words star and/or hack:

    I put the gold star up in the front window
    beside the flag. Alterations is what I know
    and what I did: hems, gussets and seams.
    Anne Sexton (1928–1974)

    I was gonna call it “I Love You, Samantha” but some old hack got there before me.
    Blake Edwards (b. 1922)