手机
当前位置:查字典教程网 >网页设计 > Div+Css教程 >固定位置显示弹出层(兼容IE6,IE8,FF)
固定位置显示弹出层(兼容IE6,IE8,FF)
摘要:css样式:body{_background-attachment:fixed;_background-image:url(nothing)...

css样式:

<style type="text/css">

body{_background-attachment:fixed; _background-image:url(nothing);}

#status-box{width:100px; height:100px; color:#FFF; background-color:black; position:fixed; _position:absolute; bottom:0;_top:expression(documentElement.scrollTop+document.documentElement.clientHeight-100); right:0;}

#cs{background-color:#ccc;width:200px;height:120px;position:absolute;left:100px;top:100px;}

</style>

body:

<body>

<div id="cs">随页面走动</div>

<div></div>

<div id="status-box">静态层</div>

</body>

【固定位置显示弹出层(兼容IE6,IE8,FF)】相关文章:

IE9下DIV本来应该居中的结果显示为居左

在CSS中用attr()显示HTML属性值

下拉菜单select样式设置(兼容IE6/IE7/IE8/火狐)

CSS应用基础教程(6) 区块性质

利用CSS同比例缩小图片技巧

CSS BUG顺口溜,快速牢记CSS的Bug处理方法

CSS3对background的调整和增加的属性

清除行内元素之间HTML空白的几种解决方案

CSS background属性(背景属性)详解

css div实现的遮罩层完美兼容IE6-IE9 FireFox

精品推荐
分类导航