通常我们区别这些涉猎器CSS hack的方法就变得简单,咱们只需思忖IE6\IE7\火狐(Firefox)这3个浏览器即可兼容悉数浏览器。
具体判袂以下:
判袂IE6和FF:
bac公斤round:orange;*background:blue;
鉴别IE6和IE7:
bac公斤round:green !important;bac千克round:blue;
鉴识IE7和FF:
bac千克round:orange; *bac千克round:green;
鉴识FF,IE7,IE6:
bac公斤round:orange;*background:green !important;*background:blue;
注:IE都能识别*;规范涉猎器(如FF)不能辨认*;
IE6能辨认*,但不克不及辨认 !important,
IE7能辨认*,也能识别!important;
FF不能辨认*,但能辨认!important;以下是各浏览器CSS hack表格
如需转载,请注明文章出处和来源网址:http://www.divcss5.com/jiqiao/j53579.shtml