Forum Moderators: not2easy
In the above code,
i want to fix the height of content div to 100% (balance height after the header div with respect to the any resolution.)
how can i achieve this
width:100%;
Have you tried setting your #content height to 100% ...?
#content{ background-color:#f5f5f5;width:100%;height:100%} But you will probably need to set the height of the page to 100% also, otherwise a height of 100% will only be as high as your content...
html, body {height:100%} Is that the sort of thing? Although this may set the #content height just slightly larger (40px + padding/margins) than your page....?!
Is your content always designed to fit within the page area - always visible?
Have a look at these threads.....
[webmasterworld.com...]
[webmasterworld.com...]
[webmasterworld.com...]