On having layout 提供了很多信息围绕IE其特有的“渲染概念:hasLayout — one of the major causes for headache when it comes to how IE decides to pain the boundaries of certain HTML elements:
Negative text-indent and underline — No matter how far on the left the real text is, the underline will be stretched all the way to the right in some PC browsers, namely the Firefox.
IE6 Multi Class Bug — Again, something that could’ve brought to my attention last week!
…Internet Explorer fails to render backgrounds for elements that have both an ID and a class defined. For instance, #photos.background1 will display the corresponding background in IE6 for Windows, but once that has been defined, #photos.background2, #photos.background3, etc. will not be displayed.
小贴士
Creating s star rating using CSS
CSS Star Rating Part Deux is a follow-up to the aforementioned technique that adds the starting “state.
And here’s an external article which wraps it all up with a tutorial on how to use CSS star rating with PHP and database.