您的位置:首页 > Web前端 > CSS

CSS 兼容IE6 设置div 定位 浮动

2013-03-29 11:40 429 查看
css:

<style>

body{
_background-image:url(#);
_background-attachment:fixed; /*IE6下防抖*/
}
.CoverBtm{
height:100px;
width:100%;
bottom:0px;
left:0px;
position:fixed;
_position:absolute;
_left:10px;
_top:expression(eval(document.documentElement.scrollTop + document.documentElement.clientHeight - 100));
_bottom:auto;
background-color:black;
}
</style>


<div style="height:1000px; width:100%; float:left;"></div>
<div style="clear:both;">
</div>
<div class="CoverBtm">固定到浏览器可视区域底部
</div>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: