My container for the entire website is a white box on a black background centered in the page. To do this so that content can resize the box I have to set:
.container {
position: absolute;
background-color: white;
min-height: 90%;
top: 5%;
width: 95%;
left: 2.5%;
}
Trying to get a footer in here looks like this:
footer {
margin-left: auto;
margin-right: auto;
width: 85%;
text-align: center;
height: 2.4em;
border-top: 1px solid black;
}
to get the footer to the bottom I would assume I would have to position the container for the actual content
%header
%section.content /<----
%footer
to have a min height of 100% but that didn't work.
Here is a fiddle: http://jsfiddle.net/a6QTv/1/