兼容IE6,IE8,FF弹出层固定位置显示
样式:
<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 style="height:900px;"></div> <div id="status-box">静态层</div> </body>