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
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!