IE6 position fixed
来源:互联网 发布:粤知一二骑马过海 编辑:程序博客网 时间:2024/06/10 08:12
.DIV名称{
height: 92px;
width: 100%;
position: fixed;
top: 0;
_position: absolute;
_bottom: auto;
_top:expression(eval(document.documentElement.scrollTop));
}
这个是头部悬停的CSS样式。极其简单的纯CSS样式就可以做到的效果,无须用JS、JQ等。之前自己没找到方法的时候也是极其苦恼(因为我也是在网上搜索自己想要的答案,没有具体的步奏、或者根本解决不了)
如果想要是底部悬停,则更换一段代码即可。
.DIV名称{
height: 92px;
width: 100%;
position: fixed;
top: 0;
_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)||0)));
}
0 0
- 修复ie6-position:fixed
- position:fixed -------> IE6
- 修复ie6-position:fixed
- IE6 position fixed 解决方法
- ie6的position:fixed
- IE6 position:fixed无效
- IE6 position fixed
- IE6下实现position:fixed
- IE6 position:fixed 不支持 修复
- IE6下position:fixed;兼容
- position:fixed兼容性 IE6震动
- IE6不支持position:fixed问题
- IE6下 position:fixed 兼容问题
- IE6不支持position:fixed解决方案
- 解决IE6不支持position:fixed
- IE6支持position:fixed最完美方案
- IE6支持position:fixed最完美方案
- 修正IE6不支持position:fixed的bug
- Glide加载图片流程(Part One)
- Java数据结构源码分析-HashMap
- win 与linux 下载
- MYSQL 中的关联
- 随机数
- IE6 position fixed
- linux内核中的软中断的实现
- 欢迎使用CSDN-markdown编辑器
- JavaScript子集和扩展
- UML聚合与组合
- C++之单目运算符重载
- SSM(Spring MVC+Spring+Mybatic)介绍
- 第四讲 服务、广播与酷特性
- shell if 判断