I'm trying to keeping footer at bottom no matter how much text there is in the content. What am i doing wrong? The layout is:
.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>
Regards, Simon