How do I keep website footer on bottom of the window?
- by taw
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?