网页制作 
首页 > 网页制作 > 浏览文章

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

(编辑:jimmy 日期: 2024/9/30 浏览:3 次 )

复制代码代码如下:
#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)));
}
上一篇:div ul li 嵌套后如何解决增加多个li后DIV高度自适应问题
下一篇:适合新手的CSS网页布局小技巧整理