콘텐츠에 텍스트가 얼마나 있더라도 바닥 글을 계속 유지하려고합니다. 내가 뭘 잘못 했니? 레이아웃은 다음과 같습니다아래쪽 중간에 꼬리표가있는 바닥 글
.top{
width:500px;
height:100px;
background-color:black;
}
.content{
width:500px;
min-height:100%;
position:relative;
}
.footer{
width:500px;
height:100px;
background-color:blue;
position:absolute;
bottom:0;
}
<div class="top"></div>
<div class="content"></div>
<div class="footer"></div>
감사합니다, 사이먼
가능한 중복 http://stackoverflow.com/questions/42294/footer-to-the-the-bottom-of-a-a-web-page) –
중복 가능 [바닥 글을 항상 바닥에 유지하는 법] 페이지?] (http://stackoverflow.com/questions/14960467/how-to-keep-footer-always-at-the-bottom-of-a-page) – Win