What is the simplest way bo build vertical layout where header and footer have static height and the center occupies all available space (and adjusts to the window height).
header
------
center
------
footer
Thanks for help
ps Absolute positioning is not an option for me.
I believe this is what you are looking for
jsFiddle
Use margins to set the
margin-topandmargin-bottomof the middle<div>to-50px, or whatever the respective height of your desired header and the footer is.Alternatively use this (relatively hacky) method if you want to add content to the middle part of the page.
jsFiddle