Trying to figure out how to set a div in HTML and then have a second div take up the remaining space. It seems like it should be simple, but I'm struggling with it.
I'd like to have a div with a fixed height and then have another div take up the rest of the space, kind of like this:
<div class="div1">1st</div>
<div class="div2">2nd</div>
CSS:
div.div1{background: #999; height: 78px;}
div.div2{ background: #666; height: (remaining_space); }
Is this doable?