Is it possible to make a none table based layout that allows #bottom element to fill 100% of the remaining space left in the parent element without the use of JavaScript?
Here is what works when using tables:
<html>
<head>
<style>
table{
height: 100%;
width: 100%;
}
#top{
background-color: blue;
height: 200px;
}
#bottom{
background-color: red;
height: 100%;
}
</style>
</head>
<body>
<table>
<tbody>
<tr id="top">
<td></td>
</tr>
<tr id="bottom">
<td></td>
</tr>
</tbody>
</table>
</body>
</html>