I am having problems with HTML tables when I do this project: The left cell is the rowspan = "2" cell, and the right one is the height = "50%" attributes. The following is the expected behavior:
+ ------------- + ----------------- +
| | |
| | Equal-height |
| | cell # 1 |
| | |
| Scaling- + ----------------- +
| height cell | |
| | Equal-height |
| | cell # 2 |
| | |
+ ------------- + ----------------- +
What is actually going on:
+ ------------- + ----------------- +
| | Equal-height |
| | cell # 1 |
| + ----------------- +
| | |
| Scaling- | |
| height cell | Equal-height |
| | cell # 2 |
| | |
| | |
+ ------------- + ----------------- +
In short, the upper part of the right two cells decreases as little as possible, and the lower part 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 cell and forcing a size (in pixels) for the right cells. However, this defeats the goal of the zoom-height cell.
source share