Star Plus Hack
Although Internet Explorer 7 no longer recognizes the classic star HTML hack, it has introduced a similar hack using selectors new to IE7:
*:first-child+html p { font-size: 5em; }Or...
*+html p { font-size: 5em; }This code will be applied in Internet Explorer 7, but not in any other browser. Note that this hack only works in IE7 standards mode; it does not work in quirks mode. This hack is also supported by Internet Explorer 8's compatibility view (IE7 standards mode), but not in IE8 standards mode. Like the star HTML hack, this uses valid CSS.
Read more about this topic: CSS Filter
Famous quotes containing the words star and/or hack:
“Find out the peaceful hermitage,
The hairy gown and mossy cell,
Where I may sit and rightly spell
Of every star that heaven doth show,
And every herb that sips the dew;
Till old experience do attain
To something like prophetic strain.
These pleasures Melancholy give,
And I with thee will choose to live.”
—John Milton (16081674)
“Painting consumes labour not disproportionate to its effect; but a fellow will hack half a year at a block of marble to make something in stone that hardly resembles a man. The value of statuary is owing to its difficulty. You would not value the finest head cut upon a carrot.”
—Samuel Johnson (17091784)