Source Code: (back to article)
<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
html,
body {
height: 100%;
width: 100%;
margin: 0;
}
#fixed-height {
height: 100px;
background-color: #57c975;
}
#remaining-height {
background-color: #d9deda;
position: absolute;
top: 100px;
bottom: 0;
width: 100%;
}
</style>
</head>
<body>
<div id="fixed-height">
Fixed height
</div>
<div id="remaining-height">
Remaining height
</div>
</body>
</html>