具体写法很容易:
方法一:
#someNode { position: fixed; #position: fixed; _position: fixed; }
方法二:
.detailmore{width:110px;}
*+html .detailmore{width:104px;}
*html .detailmore{width:104px;}
-
第一排给Firefox以及其他浏览器看
-
第二排给IE7(可能以后的IE8、IE9也是如此,谁知道呢)看
- 第三排给IE6以及更老的版本看
注意:
!important 随着IE7对!important的支持, !important 方法现在只针对IE6的HACK. (注意写法.记得该声明位置需要提前.)
#wrapper{ width: 100px!important; width: 80px; }