<div id="container">
<div id="top">
<ul>
<li>green box with variable height</li>
</ul>
<div id="container-inner">
<div class="box left">w: 50px</div>
<div class="box middle">
width of this box is<br /> variable
</div>
<div class="box right">
width: 100%; should occupy remaining width of container
</div>
</div>
</div>
<div id="bottom">
<ul>
<li>blue box with <code>height: 100%</code> overflows browser window and launches vertical scrollbar</li>
<li>we could remove scroll with <code>overflow: hidden</code> on <code>#container</code>, but that truncates bottom of this box</li>
<li>how could we set the height of this box to always fit perfectly inside the container?</li>
<li>in other words, the height should be <code>height: calc(100% - <<variable height of #top>></li>
</ul>
</div>
</div>