Make a Div fill remainder of a container Div
Hello again, I've got a small issue that I hope someone can solve. I have 3 divs inside of a container div with a fixed height. Without knowing the heights of DIV1 & DIV3 (both variable depending on content) I want DIV2 to expand in the middle to fill any remaining space. Any help appreciated. I've had a search and can't find a similar solution.
Thanks in advance.
<div class="CONTAINER" height="400px">
<div class="DIV1">Header Text</div>
<div class="DIV2">Content Text</div>
<div class="DIV3">Footer Text</div>