Consider the following:
+----------------------------------------+ | Div A | | | | +----------+ +-------------------+ | | | Div B | | Div C | | | | | | | | | +----------+ | | | | | | | ? ? ? ? | +-------------------+ | +----------------------------------------+
Div A contains both B and C.
Div B will only hold one line of content.
Div C contains a list of variable counters, so the height varies greatly.
Divs B and C are given widths.
Height Div C controls the height of Div A.
How can I make Div B upright to fit the unknown height of Div C?
For many reasons that you should not go into the table, the tables will not work in this situation.
source share