I want to render two dimensional array of equal sized boxes, where the box containing longest content will dictate the height of all boxes, so I decided to use HTML table to line everything up.
However, in IE i'm getting problem where div inside table cell wont fill the whole height, even it works fine in chrome. Here is snippet of the markup and styles:
.boxArrayTable td {
white-space: nowrap;
overflow: hidden;
padding-bottom: 30px;
padding-right: 20px;
}
<table class="boxArrayTable">
<tbody>
<tr>
<td><div class="box" /></td>
<td><div class="box" /></td>
</tr>
<tr>
<td><div class="box" /></td>
<td><div class="box" /></td>
</tr>
</tbody>
</table>
div.box {
overflow: auto;
background-color: white;
display: inline-block;
min-width: 222px;
height: 100%;
}
Why this doesn't work in IE and how to get it working? Also I should be able to float child elements of box element to bottom.