复制代码 @H_ 777 _6@
代码如下: 
<ht ML   XM lns="http://HdhCmsTestw3. org /1999/xhtml"> 
<head runat="server"> 
<t IT le></title> 
<style ty PE ="text/css"> 
 # low_right 
{ 
position: fixed; 
width: 90px; 
h ei ght: 90px; 
background: #eee; 
bottom: 40px; 
right: 20px; 
background-color: #DC fc E9; 
border: 8px do ub le #06F867; 
text-align:  center ; 
padding: 10px; 
m arg in: 10px; 
} 
</style> 
</head> 
<body> 
<script type="text/javascript"> 
for ( VAR  i = 0; i < 100;  i++ ) { 
document.write((i + 1) + "
"); 
} 
</script> 
<div id="low_right"> 
 右下角  
</div> 
</body> 
</html> 
@H_ 360 _45@
总结
以上是 为你收集整理的 让DIV一直固定在屏幕的某个位置示例代码 全部内容,希望文章能够帮你解决 让DIV一直固定在屏幕的某个位置示例代码 所遇到的问题。
如果觉得 网站内容还不错, 推荐好友。
查看更多关于让DIV一直固定在屏幕的某个位置示例代码的详细内容...