Check out this code snippet on JSFiddle by clicking here. This excerpt of code showcases a table with a unique layout:
<table style="height:100%">
<tr height="20"><td></td></tr>
<tr>
<td>This gray cell fits all available height of table</td>
</tr>
<tr height="20"><td></td></tr>
</table>
The table consists of three rows, with the middle row adjusting its height to fit that of the entire table. The solution for this design was inspired from this source.
The challenge arises when trying to add overflow-y scrolling to the middle cell. It appears that the minimum height of the content inside the cell affects this feature. Is there a way to enable vertical scrolling (overflow-y:auto) or if not, how can a similar layout be achieved using div elements?
UPDATE: A working example is available at http://jsfiddle.net/haGWe/6/. However, it's still intriguing to explore alternative implementations using divs.