Automatically Resize Your Footer Height

[ Posted: ]

I’m rebuilding my portfolio again, just the markup mind you. I wasn’t 100% happy with what I ended up with the last time. I wanted to have a footer that always took up the remaining height of the page.

There’s a few ways you can do this, you could try the 100% CSS route but that left me with a lot of extra wrapping divs (which is what I did the first time). But that resulted in a few extra divs and things weren’t as flexible as I like them to be.

I found a great post by Maifith Design Inc. that did exactly what I wanted it to:
Use jQuery to Automatically Size your Footer Height