I do not know how to ask about this without a picture. I have two divs, side by side, inside another div with indentation and margins per se. This is what I want to achieve:
+-------------------------------------------------------------------+--------+
| A | C |
| +-----------------------------------------------------------+ | |
| | B | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| +-----------------------------------------------------------+ | |
| | |
+-------------------------------------------------------------------+--------+
but here is what I get. I can float divs and compensate for fields, etc., but I can not get div C to extend to the entire height of A. Neither A nor B have a fixed height, so how do I get C to expand to the full height of A?
+-------------------------------------------------------------------+--------+
| A | C |
| +-----------------------------------------------------------+ | |
| | B | | |
| | | | |
| | | | |
| | | +--------+
| | | |
| | | |
| | | |
| +-----------------------------------------------------------+ |
| |
+----------------------------------------------------------------------------+
Height A extends to height B. This is a completely fluid layout, so the width is also not fixed. Basically, I need C to increase the whole height of A.
I tried playing with all the heights, but I can't get it to work, because the heights are not fixed :(
A - div , , .
B , float: left;
C - div, float: right;
EDIT:
IE, CSS-