I am developing a web application that visually displays a title above a body containing four columns of variable-height content. The design gods indicated that this is a fixed height, mainly because each of the columns can become very long, and therefore (as designers) they want to have an iframe with independent scrollbars.
Four (potential) scrollbars are bad enough, but if the overall page height is fixed higher than in the browser window, then in the end it will have five! Of course, the “normal” solution in this case should fix the total page height by about 700 pixels to give it the “best chance” for vertical installation, but I don’t want to do this for various reasons, which I hope will be obvious.
So my question is: what would be the best way to have a body container that fills the available (vertical space), with each of the columns doing the same thing? Is it even practical / possible? Bonus question: can I reliably use the CSS overflow property for columns or do I need nasty frames? I have a lot of experience with CSS, but there are no percentage sizes next to them (especially in combination with the pixel sizes I need for the title). In addition, it should be standards compliant and backwards compatible with IE6.
TIA.
EDIT: I'm not looking for a CSS layout solution as such, my problem is how to account for the need for each column to be the maximum possible height inside the body container and scroll without fixing the height of the body in pixels - if I don't need to.
css
da5id
source share