让DIV一直固定在屏幕的某个位置
2013-11-05 10:44
190 查看
<html xmlns="http://www.w3.org/1999/xhtml"> <head runat="server"> <title></title> <style type="text/css"> #low_right { position: fixed; width: 90px; height: 90px; background: #eee; bottom: 40px; right: 20px; background-color: #DCFCE9; border: 8px double #06F867; text-align: center; padding: 10px; margin: 10px; } </style> </head> <body> <script type="text/javascript"> for (var i = 0; i < 100; i++) { document.write((i + 1) + "<br />"); } </script> <div id="low_right"> 右下角 </div> </body> </html>
相关文章推荐
- 使div或图标一直固定在屏幕的某个位置
- 让DIV一直固定在屏幕的某个位置示例代码
- js实现div固定在屏幕的某一个位置
- "把一个div标签,给它的属性设置position: fixed;bottom:0;固定在浏览器的最底部。 这个div标签在浏览器上下滚动的时候,会一直保持在屏幕最底部,这一点没有问题。但问题是当浏览
- Div固定在屏幕右边的指定位置
- 固定在屏幕恒定位置的div层
- 固定div位置,不随滚动条上下动
- [转]如何让DIV固定在页面的某个位置而不随着滚动条随意滚动
- [置顶] 一直显示在屏幕正中间位置
- 固定高度的div在屏幕中居中方法
- 左边DIV固定宽度,右边的DIV如何自适应填满剩下的屏幕宽度
- DIV固定在页面某个位置,不随鼠标滚动而滚动
- 弹出div或者弹出新窗口的固定位置、固定大小
- 返回顶部的功能 div固定在页面位置不变
- [转]如何让DIV固定在页面的某个位置而不随着滚动条随意滚动
- 点击链接跳转到固定div位置处(类似锚点链接)
- 固定屏幕位置的css方法。
- 一个简单的旋转控制器与固定屏幕位置
- js控制div 在页面的固定位置
- js控制div 在页面的固定位置