Another tangle of one night, the same font and size, the height in IE and FF is not the same solution. I have never wanted to use hack, which is equivalent to virus attacks (to overcome bugs with bugs ~ _~!
Color: # 0000ff \ 9;/* IE6, IE7, IE8 */
* Color: # FFFF00;/* IE6, IE7 */
_ Color: # ff0000;/* IE6 */
As for why \ 9 [IE6-IE8], I don't know. Really! However, when \ 0 is used, only IE8 is recognized. Therefore:
. Test {
Color: #000000;/* ff, OP supported */
Color: # 0000ff \ 0;/* IE8 supported */
[Color: #000000; color: #00ff00;/* SF, CH support */
* Color: # FFFF00;/* IE6 and IE7 support */
_ Color: # ff0000;/* IE6 support */
}
In addition:
Body: Nth-of-type (1). ch {
& Nbsp; color: # ff0000;/* This is CSS hack for chrome and Safari */
}
Note:
Detailed source reference: http://www.jb51.net/css/24944.html
In addition, I heard that using the font of can reduce the font gap between IE and FF, because FF is rendered by.