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

一段永远让div位于页面底部的css代码

2012-02-09 15:35 501 查看
<style type = "text/css">
#footer_nav{bottom:0;position:fixed; _position:absolute;z-index:9999; bottom:0px;    
        _top:expression(eval(document.compatMode &&   
        document.compatMode=='CSS1Compat') ?   
        documentElement.scrollTop   
        +(documentElement.clientHeight-this.clientHeight) - 0  
        : document.body.scrollTop   
        +(document.body.clientHeight-this.clientHeight) - 0); width:100%; z-index:1;}
</style>


博客已搬家,点击进入新博客:

http://www.liguangliang.com.cn

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: