Hello everyone,
Here is a little layout problem I cannot solve. A box with a minimum height, contains three blocks : - the *first* one is at the top of the container box, with its preferred height. - the *third* one is at the bottom of the container box, with its preferred height. - the *second* one is on the middle and its height must have at most the remaining height available. Can anyone point me out how to do this with CSS 1 or CSS 2.1 ? I have tried and searched for a lot of things, so I begin to think it's impossible in css 2.1 ... Additional info : - when I write "preferred height", I mean : its "natural" height, based on its content. It might change dynamically, relative to the width. I don't want absolute sizing. - I'd prefer that the second block takes all the remaining height. But if it does not, is there a way to center it vertically ? You can see the layout I want in a java webstart program here : <http://leunen.d.free.fr/dev/Layout.jnlp>. Thank you heaps ! David ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/