IE系列浏览器的hack大略如下:
_nowamagic:1px;-----------ie6 *nowamagic:1px;-----------ie7 nowamagic:1px;----------ie89 nowamagic:1px9;--------ie9 :root nowamagic:1px; ----ie9(实际情况可能ie9还是有问题,再用这种方式)
1.‘9’:
.test { color/***/: blue9 } .header {width:300px;} /* 所有浏览器*/ .header {width/***/:330px\9;} /* 所有浏览器IE浏览器 */ .header {*width:310px;} /* IE7和IE6能识别,IE8和FF不能识别*/ .header {_width:290px;} /* IE6能识别,IE7、IE8和FF不能识别*/