fixed(兼容ie6)
来源:互联网 发布:数控车床编程代码大全 编辑:程序博客网 时间:2024/05/17 01:14
返回顶部在容器的边上,
<!DOCTYPE HTML><html><head><meta charset="utf-8" /><title> </title><meta name="generator" content="editplus" /><meta name="author" content="" /><meta name="keywords" content="" /><meta name="description" content="" /><style type="text/css">*{ margin:0; padding:0;}.body{ width:990px; height:1500px; margin:0 auto; background-color:#d1d1d1;}.goTop{ width:30px; height:50px; background-color:#f50; position:fixed; bottom:100px; left:50%; margin-left:495px;}/*此margin-left为宽容器的一半*/.goTop{ _position:absolute; _bottom:auto; _top:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight-this.offsetHeight-(parseInt(this.currentStyle.marginTop,10)||0)-(parseInt(this.currentStyle.marginBottom,10)||100))); } </style></head><body><div class="body"></div><div class="goTop"></div></body></html>
参考新浪微博,方便自己以后使用
- fixed(兼容ie6)
- ie6 兼容 fixed
- IE6 fixed 兼容
- IE6下position:fixed;兼容
- IE6兼容图片和fixed
- Ie6下fixed兼容回到顶部
- 解决IE6不兼容position:fixed
- ie6不兼容position:fixed的解决方法
- javascript实现ie6兼容position:fixed
- 完美解决IE6不能兼容position:fixed
- 完美解决IE6不能兼容position:fixed
- IE6不兼容position:fixed的解决方案
- javascript实现ie6兼容position:fixed
- 【兼容ie6笔记】模仿position:fixed又一招
- 兼容IE6的fixed定位,解决闪动问题
- fixed定位,解决IE6兼容及闪动问题
- CSS 仿position:fixed做的对联,完美兼容IE6
- 解决IE6不兼容fixed属性的方法
- Cairo 图形指南 (7) —— 合成
- Android: /cache中的文件是怎么消失的
- Google Code的简单使用
- ubuntu 设置 nfs 服务
- Linux用户组、用户和sudo权限
- fixed(兼容ie6)
- Android中对多媒体操作阶段总结
- Centos SVN服务器
- 与 SQL Server Profiler 有关的几个存储过程和函数
- Safari快捷键
- MFC中的Invalidate、OnDraw、OnPaint函数的作用
- URL的井号
- 正则表达式
- 内核中各种出错函数的总结