I've encountered an issue with a footer that won't stick to the bottom of the page. I'm pretty sure it's just a small oversight on my part, as I've successfully implemented this feature before. I've cleaned up the page to make it easier for you to spot what I'm missing. The footer behaves correctly when the content doesn't overflow, so if you remove some <br />
tags in the content code, you'll see it stays at the bottom as intended.
#footer{
position:absolute;
bottom:0px;
width:100%;
background-color:#aaa;
color:#fff;
text-align:center;
height: 100px;
left:0px;
}
Appreciate your help!