html - How to make fixed page template? -


i want fixed page height without scrolling, header fixed on top, , fill center remainder of page. center area have own scrolling bar when content overflow.

i set height 100% central div, height ≠ height free space between top , bottom blocks.

what can do? many thanks!

look code on jsfiddle

i have made js fiddle have created points have understood problem. using jquery $( window ).height() getting browser viewport height. subtracting height of header , footer (50px + 50px =100px) browser viewport height height of space. height equal content height.

check fiddle http://jsfiddle.net/bnx4uuse/1/


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -