CSS: Sticky footer

If you look around for a technique to get the footer stick to the bottom of the web page, you will find many variants on same theme (using absolute positioning, etc.). All have the same problem: the footer has fixed height, it does not grow with its content.

But there is one way to get a sticky footer of variable height, which is by the way much simpler than the other techniques. It involves using CSS tables. And here it is:

http://pixelsvsbytes.com/blog/2011/09/sticky-css-footers-the-flexible-way/

Have a nice read.


Posted

in

by

Tags:

Comments

Leave a Reply