tags:

views:

109

answers:

2

Coding footer naively, if there's not enough content, then there will be empty space between footer and bottom of page. I would like to get rid of this and move footer to the bottom of the window.

On the other hand when there is more content, I want the content to push the footer down (so position: fixed; bottom: 0; won't do).

How do I achieve this?

+3  A: 

This is a newer one, the CSSStickyFooter:

http://www.cssstickyfooter.com/

Keltex
A: 

This site has been quite useful for me for different layouts http://matthewjamestaylor.com/blog/perfect-stacked-columns.htm

Klerk