div固定位置漂浮样式
2011-07-09 13:52
211 查看
</script>
<style type="text/css">
#bottomNav { background-color:#096; z-index:999; position:fixed; bottom:0; right:0; width:30%; _position:absolute; /* for IE6 */
_top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ overflow:visible; }
</style>
<div id="bottomNav">固定漂浮物在此处O(∩_∩)O~</div>
<style type="text/css">
#bottomNav { background-color:#096; z-index:999; position:fixed; bottom:0; right:0; width:30%; _position:absolute; /* for IE6 */
_top: expression(documentElement.scrollTop + documentElement.clientHeight-this.offsetHeight); /* for IE6 */ overflow:visible; }
</style>
<div id="bottomNav">固定漂浮物在此处O(∩_∩)O~</div>
相关文章推荐
- fixedBox固定div漂浮代码 支持ie6以上大部分浏览器
- Jquery DIV滚动至浏览器顶部位置固定
- [转]如何让DIV固定在页面的某个位置而不随着滚动条随意滚动
- fixedBox固定div漂浮代码支持ie6以上大部分主流浏览器
- div 固定宽度,固定位置不变
- js 固定某个div在浏览器窗口的位置
- div层的固定位置浮动
- div层固定在页面某一位置
- 返回顶部的功能 div固定在页面位置不变
- 简单网页效果--固定div位置
- position:fixed实现div始终位于浏览器中固定位置
- CSS+DIV固定底部的漂浮导航条(多浏览器兼容)
- 使div或图标一直固定在屏幕的某个位置
- HTML 固定div于页面固定位置,实现悬浮按钮。
- 如何让DIV固定在页面的某个位置而不随着滚动条随意滚动
- 点击链接跳转到固定div位置处(类似锚点链接)
- fixedBox固定div漂浮代码 支持ie6以上大部分浏览器
- 让DIV一直固定在屏幕的某个位置
- 让DIV浮动在表格上固定位置,不会随着显示器的分辨率变化。
- 固定div位置,不随滚动条滚动