摘要: body,html{margin: 0 auto;padding: 0;height:100%;}.containt_main{min-height: 100%;_height: 100%;position: relative;} 一定要有html的css,containt_main的min-height: 100%;,然后footer:position:absolute;bottom:0;页面高度不够的情况下:页面放大缩小的时候好像会有问题,该为动态计算高度:$("#main").height($(document).height() - 129 - 104);129为t 阅读全文
posted @ 2014-03-18 17:07 kaixinkaixin0 阅读(205) 评论(0) 推荐(0)