I'm trying to keep the footer to the bottom, I did this in this way:
#footer
{
background-color: #3A3A3A;
border-top: 1px solid #222222;
font-size: 11px;
overflow: auto;
}
#footer #footer-content
{
padding: 10px 15px;
display: inline-block;
float: left;
}
this is the html:
<div id="footer">
<div id="footer-content">
...
now in some page the footer is fixed correctly, but in other page I've a lot of space between my controls and footer, so in few words there is a lot of space vertically. Happean that the footer instead of remain fixed to the footer go at the bottom of the controls, if I resize the window the footer return at the bottom correctly as the other page. I don't understand why, what is wrong in my css?