IE8浏览器如何兼容CSS hack

2023-05-10,,

小编给大家分享一下IE8浏览器如何兼容CSS hack,相信大部分人都还不怎么了解,因此分享这篇文章给大家参考一下,希望大家阅读完这篇文章后大有收获,下面让我们一起去了解一下吧!

CSS hack区分以下——注意步伐与阅读器CSS HACK身分:
CSS hack:区别IE6,IE7 ,IE8,firefox
区别不合浏览器,CSS hack写法:
区别FF和IE6:
background:orange;*background:blue; 告白:FF只能辨认background:orange; IE6识别*background:blue; 
区别IE7与IE6:
background:green !important;background:blue;大约*background:green;_background:blue;
区别IE6和IE8:
background:orange; /*/background:blue;/**/
区别IE7和IE8:
background:orange; /*/background:blue;/**/
区别FF和IE7:
background:orange; *background:green !important;
区别FF,IE7,IE8,IE6:
background:orange;*background:green important;background:#111\9;_background:blue; 
或是运用
区别FF,IE7,IE8,IE6:
background:orange;*background:green !important;background:#111\9;*background:blue;

以上是“IE8浏览器如何兼容CSS hack”这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注本站行业资讯频道!

《IE8浏览器如何兼容CSS hack.doc》

下载本文的Word格式文档,以方便收藏与打印。