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:

    My advice to those who think they have to take off their clothes to be a star is, once you’re boned, what’s left to create the illusion? Let ‘em wonder. I never believed in givin’ them too much of me.
    Mae West (1892–1980)

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