您现在的位置: 万盛学电脑网 >> 程序编程 >> 网页制作 >> DivCSS教程 >> 正文

css返回顶部图标固定在浏览器右下角且兼容ie6

作者:佚名    责任编辑:admin    更新时间:2022-06-22

返回顶部图标固定在浏览器的右下角的相关文章可以在网上找到很多,但是同时兼容ie6的就不多了,本例为大家介绍的这段css样式代码就是可以兼容ie6的,感兴趣的朋友可以参考下

 

 

复制代码 代码如下:


#e_float{
_position:absolute;
_bottom:auto;
_right:50%;
_margin-right:-536px;
_top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||0)));
}