Pat,

When you use height: 100% you have to ask yourself the question "what is it
100% of?" Since you did not specify the height of the containing element or
the body, the browser can't calculate the height.

Here is an example of two floated divs, with a height of 100%,  inside of a
fixed height container: http://www.jimdavis.org/test/heights.html

This approach would only work if you were certain the content would always
fit vertically within the specified height of the container, or use one of
the overflow rules to deal with the additional content.

To accommodate an unknown height it is common to use the faux columns
technique. Here is an example I did:
http://www.jimdavis.org/test/heights2.html

You can read this for more information:
http://www.alistapart.com/articles/fauxcolumns/

Jim

On Dec 21, 2007 9:03 PM, Patrick Aljord <[EMAIL PROTECTED]> wrote:

> Hi all,
> I need help for those two divs "details" and "body" in my container,
> they don't have the same height and I would like them to have the same
> height. Any way to do this with css?
>
> here is the page: http://p80.free.fr/testy/dropdown/test.html
>
> thanks in advance
>
> Pat
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to