I wouldn't usually ask but I know that this question has been asked before, albeit eons ago, I'm having a bit of trouble at the moment as in where whenever the content is too long it underlaps through the footer which on short length pages is placed on the 'bottom', shown below:
That's what I have for the individual divs, what positioning would I have to add onto their, anything to do with 100% heights or anything, I've got myself a bit stuck, thanks to anyone who can help. 

Code:
body {
margin: 0 auto;
padding: 0;
background: #fff url("img/bg.jpg") repeat-x;
font: 0.9em tahoma, verdana, arial, sans-serif;
color: #333;
}
#content {
padding-top: 1em;
}
#footer {
position: absolute;
bottom: 0;
height: 80px;
width: 100%;
}

Last edited: