I'm trying to do something like the min-height hack, but I have two floats that seem to be conflicting with it:
http://jsfiddle.net/redconservatory/vqFVU/1/
My "innercontainer" div is very short, I would like it take up as much as as possible (or at least, more space) without setting the height in pixels because my page content changes from page to page...
set overflow:auto
instead of visible
, so that .innercontainer
expands to accommodate its contents.
demo at http://jsfiddle.net/gaby/vqFVU/2/
If you want a sticky footer as well look at http://www.cssstickyfooter.com/
padding-bottom
you can extend it event more example (height is not needed - Gabriele Petrioli 2012-04-04 11:48
javascript is the easiest way. You cant do that with pure CSS since every client can have a different size window.