CSS: How to get two DIVs side by side with automatic height, to the height of their container?

Posted by Jake Petroules on Stack Overflow See other posts from Stack Overflow or by Jake Petroules
Published on 2010-06-16T03:35:31Z Indexed on 2010/06/16 3:42 UTC
Read the original article Hit count: 520

Filed under:
|
|
|

I am designing a website for a client, and I am trying to get two side-by-side DIVs to adjust to 100% of their container. I've got the side-by-side done, but I can't get the right DIV to be the same height as the left one.

You can view the problem here: http://campusmomlaundry.petroules.com/

The "challenges" and "benefits" DIVs should be side-by-side and the same height, without manually specifying the height. How can I do this?

© Stack Overflow or respective owner

Related posts about css

Related posts about div