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:

    Well gentlemen, this is it. This is what we’ve been waiting for. Tonight your target is Tokyo. And you’re gonna play ‘em the Star Spangled Banner with two-ton bombs. All you’ve got to do is to remember what you’ve learned and follow your squadron leaders. They’ll get you in, and they’ll get you out. Any questions? All right that’s all. Good luck to you. Give ‘em hell.
    Dudley Nichols (1895–1960)

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