回复讨论(解决方案)
html,body{height:100%;}.footer{position:absolute;bottom:0;}
#footer{position:fixed;bottom:0;z-index:10}
那个设置body的高度100%然后把footer这一块的样式设置bottom:0定位在body最下面就好了
html,body{height:100%;}.footer{position:absolute;bottom:0;}
但是我的内容有个边框,footer下去了,边框还在上面,有办法解决么?
......
查看更多关于自适应网页设置高度_html/css_WEB-ITnose的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://www.haodehen.cn/did110001