IE8以及其他浏览器的CSS Hack

web前端524113年前 (2011-03-22)

IE8以及其他常用浏览器的CSS Hack:

#box{
color:red; /* 所有浏览器都支持 */
color:red !important;/* Firefox、IE7支持 */
_color:red; /* IE6支持 */
*color:red; /* IE6、IE7支持 */
*+color:red; /* IE7支持 */
color:red\9; /* IE6、IE7、IE8支持 */
color:red\0; /* IE8支持 */
}