View Full Version : percentaged content

06-03-2012, 08:36 AM
I was wondering, havent quite figured it out yet.
I love fluid websites, but i kinda hate it when everything is fluid, therefore im leaving the header fixed in height and adjustable in width. Now this works fine.
But the thingie im having now is how do i determine the height of the content part.

I have a header div (div 1 to speak), which isnt fluid in its height, and a footer, which will stay right at the bottom all the time (div 3 to speak), by that the space inbetween will automatically be filled with div 2 i thought??
The problem is, is that div 2 contains 2 divs horizontally placed next to eachother that need to have a variable height, compared to the height of div 2, so for example when div 2 = 600px, i want the 2 inner divs to fill 60% of that part. Is it possible to not give a height to div 2 and still have it fill 100% of the page, and then have the 2 inner divs be fluid again?

06-09-2012, 05:08 AM
you need to set the two divs inside div 2 to have their heights set to be 60% of div 2. If that's not what your asking, please post the code.