摘要:
众所周知,IE6不支持fixed属性。常用的方法是JS进行处理。会出现跳动现象,网上的解决方案是为html或者body添加background-image:about(blank);或background-attachment:fixed;我们直接用expression貌似不行,后来发现是缓存导致的,解决方案是使用:eval();套用了下,不错的。各个位置算法如下:左上角:left:document.documentElement.scrollLeft;top:document.documentElement.scrollTop;left:等于scrollLeft,top:也直接等于scrol 阅读全文