HTML/CSS页脚位于页面底部
记录一下,mark
点击查看代码
footer {
width: 100%;
height:100px; /* footer的高度一定要是固定值*/
position:absolute;
bottom:0px;
left:0px;
}
记录一下,mark
footer {
width: 100%;
height:100px; /* footer的高度一定要是固定值*/
position:absolute;
bottom:0px;
left:0px;
}