Hi,
I have an issue with CSS I can't solve.
I've made a little diagram.
Let's say that the pink and green box's height are determined by there content. The pink box could sometimes be the smaller one.
What I am trying to do is have the smaller box fix it's height to the outer containing div, so that it would have the same height as the pink box (or vice-versa).
Anyone have any solutions?
Min-height on the pink and green boxes won't work because they may exceed that height (also no IE6 support).
100% height on the pink and green boxes won't work because the outer div does not have a fixed height.
A table would work, but come on, a table?
I could fake backgrounds and left-right-borders on the pink and green boxes by putting them in the outer div's background. But that seems messy.
At the moment I have a js solution, but there must be a simpler one.
Cheers.