1.'9':
eg:.test { color/***/: blue9 }
.header {width:300px;} /* all browsers*/
.header {width/***/:330px9;} /* All browsers IE */
.header {*width:310px;} /* IE7 and IE6 can recognize it, but IE8 and FF cannot */
.header {_width:290px;} /* IE6 can recognize it, but IE7, IE8 and FF cannot */
2. Use conditional comment statements: <!–[if IE]> This content is only visible to IE <![endif]–>
lt means less than the version below the current condition version, excluding the current version.
gte means greeter than or equal to the current version or above, and includes the current version.
lte means less than or equal to the version below the current version and includes the current version.
3. Other hack techniques:
.color1{ color:#F00; color/***/:#00F /***/}/*IE6,IE7,IE8,FF,OP,SA recognition*/
.color2{ color:#F00; color /***/:#00F /*9**/}/*IE7,IE8,FF,OP,SA recognition*/
.color3{ color:#F00; color/***/:#00F 9}/*IE6, IE7, IE8 identification*/
.color4{ color:#F00; color /***/:#00F9}/*IE7, IE8 recognition*//*There is a space between "color" and "/***/"*/
#test{color:red; /* Supported by all browsers*/ color:red !important;/* Supported by Firefox and IE7*/_color:red; /* Supported by IE6*/*color:red; /* IE6 and IE7 Support */*+color:red; /* IE7 supports */color:red9; /* IE6, IE7, IE8 support*/color:red ; /* IE8 supports*/}body:nth-of- type(1) p{color:red;} /* Supported by Chrome and Safari*/