You could try to pick a single cell to chew up all the space and set that to 100% height and width:
<table>
<tr>
<td>Hi There.</td>
<td>x</td>
</tr>
<tr>
<td>Here is some text.</td>
<td class="space-hog"></td>
</tr>
</table>
and some CSS:
table {
width: 100%;
height: 100%;
}
td {
white-space: nowrap;
}
td.space-hog {
width: 100%;
height: 100%;
}
And a live example. You need to be careful to avoid unpleasant line wrapping when .space-hog
does its thing, hence the white-space: nowrap
. If you put the .space-hog
in the last row then you can avoid pushing the interesting parts down.