I have this very simple footer :
.footer{
width:100%;
background-color:#333;
height:100px;
position: absolute;
bottom: 0px;
}
and this container :
.container{
position:relative;
height:100%;
width:980px;
margin:0px auto;
}
The container's (content) height is 100% so it is based on the amount of results you get from your search query. I want the footer to stick underneith the container at all time. And when you have no results I just want to have it at the bottom of the screen.
I tried to give the container a padding-bottom the height of the container and change the posistion but it didn't help. Does anyone has an idea how to solve this?