ie6、7、8、9单独hack兼容写法
2014-10-13 11:06
127 查看
<styletypestyletype=”text/CSS”>
#body{
border:2pxsolid#00f;/*Firefox的属性*/
border:2pxsolid#090\9;/*IE6/7/8的属性*/
border:2pxsolid#F90\0;/*IE8支持*/
_border:2pxsolid#f00;/*IE6的属性*/
}
</style>
相关文章:css hack全解,最齐全的ie css hack方式讲解
#body{
border:2pxsolid#00f;/*Firefox的属性*/
border:2pxsolid#090\9;/*IE6/7/8的属性*/
border:2pxsolid#F90\0;/*IE8支持*/
_border:2pxsolid#f00;/*IE6的属性*/
}
</style>
1. _ IE6 2. * IE6/7 3. !important IE7/Firefox 4. *+ IE7 5. \9 IE6/7/8 6. \0 IE8 7. 条件hack <!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"><![endif]--> IE7以下版本 <!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"><![endif]--> IE7 <!--[if IE 8]> <html class="no-js lt-ie9"><![endif]--> IE8 <!--[if gt IE 8]><!--><html class="no-js"><!--<![endif]--> IE8以上
相关文章:css hack全解,最齐全的ie css hack方式讲解
相关文章推荐
- ie6,ie7,ff 的css兼容hack写法
- 分析surface官网根据宽度自适应兼容移动端的写法(兼容IE6-8)
- 浏览器兼容之旅的第二站:各浏览器的Hack写法
- CSS背景色渐变写法兼容ie6至ie9
- 各浏览器兼容hack 写法
- CSS样式常用的兼容hack写法
- 单独在ie6、7中样式的写法
- div最小高度的2种写法(兼容IE6、IE7、Firefox、Opera)
- IE6、IE7、IE8、Firefox之间的兼容写法:
- 全面兼容ie6,ie7,ie8,ff的最简单的css写法
- CSS兼容IE6,IE7,FIREFOX的hack收集
- 浏览器兼容 各浏览器的Hack写法 [出处:W3CPLUS]
- 单独对IE6兼容进行处理的方法
- ie6 ie7 ie8 共存以及Firefox浏览器CSS兼容写法
- 全面兼容ie6,ie7,ie8,ff的CSS HACK写法
- 常用CssHack的写法(IE6-9)以及主流浏览器hack写法
- Css样式兼容IE6,IE7,FIREFOX的写法
- ie6不兼容input[type="text"]的样式写法
- IE6、IE7、Firefox之间的兼容写法