手机
当前位置:查字典教程网 >网页设计 > 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)】相关文章:

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

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

图片垂直居中css写法兼容ie6

去除链接元素的虚线框(兼容IE7、IE6、FF)

CSS+jQuery实现的在线答题功能

IE6/7下多种方法移除button、input 默认边框和去掉焦点线

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

CSS实例教程:分号引起页面混乱

修复网页在IE8下的显示兼容问题

固定宽高的DIV如何绝对居中

精品推荐
分类导航