I'm having some trouble with HTML tables when I make this design: The left-hand cell is a rowspan="2" cell, and the right two are using height="50%" attributes. Below is the expected behavior:
+-------------+-----------------+ | | | | | Equal-height | | | cell #1 | | | | | Scaling- +-----------------+ | height cell | | | | Equal-height | | | cell #2 | | | | +-------------+-----------------+
What actually happens:
+-------------+-----------------+ | | Equal-height | | | cell #1 | | +-----------------+ | | | | Scaling- | | | height cell | Equal-height | | | cell #2 | | | | | | | +-------------+-----------------+
In short, the top of the right-hand two cells is reduced as small as possible, and the bottom one fills the rest of the space. There is an ugly workaround using embedded tables, but I was wondering if there was a more elegant solution. This can also be circumvented by assuming a fixed height for the left-hand cell, and forcing the size (in pixels) for the right-hand cells. This defeats the purpose of a scaling-height cell, though.
Divs don't scale, so that solution doesn't work. – jbzdarkid Feb 25 '13 at 21:43