CSS hack查询对照表
时间:2014-01-21 01:18:35
收藏:0
阅读:354
CSS hack元素对照表
| FF | chorme | IE6 | IE7 | IE8及以上 | |
| *html | × | × | √ | × | × |
| *+html | × | × | × | √ | × |
| _ | × | × | √ | × | × |
| * | × | × | √ | √ | × |
| !important | √ | √ | × | √ | √ |
√ 表示该CSS属性对相应浏览器有效
× 表示该CSS属性对相应浏览器无效
特别说明:
/* 这个样式对IE6,red有效,对非IE6 blue有效 */
.exm1{
color:blue !important;
color:red;
}
/* 这个样式对IE6,blue有效,对非IE6 blue有效 */
.exm1{
color:red;
color:blue !important;
}
原文:http://blog.csdn.net/lichbin/article/details/18317337
评论(0)