換句話說(shuō),方法二中也需要把html,body高度設(shè)置為100%,并重置margin,padding為0;其二div#container也需要設(shè)置min-height:100%,并處理好IE6下的min-height兼容問(wèn)題;其三也需要在div#page容器上設(shè)置一個(gè)padding-bottom或border-bottom-width值等于div#footer高度值(或略大于)。
www.dbjr.com.cn/css/668...html 2025-5-28