面试题__7__通过CSS模拟固定定位(IE6)
2016-09-09 本文已影响0人
大佬肥1
![](https://img.haomeiwen.com/i2906371/090df8aead1940a7.png)
![](https://img.haomeiwen.com/i2906371/a4e328afec5c1f59.png)
_position:absolute;
_top:expression(eval(document.documentElement.scrollTop+100));
通过CSS来模拟,会有晃动的感觉, 所以以后还是通过JS来控制
_position:absolute;
_top:expression(eval(document.documentElement.scrollTop+100));
通过CSS来模拟,会有晃动的感觉, 所以以后还是通过JS来控制