Trying to find the right wording for this question was quite challenging due to the specific nature of the issue, so my apologies if it doesn't fully capture what I'm seeking.
Just to clarify, I am specifically looking for a solution that is compatible with IE10 using only pure HTML/CSS.
https://i.sstatic.net/gOPHG.png
In the image above, we have 3 divs (#top
, #mid
, #bottom
). The height of the bottom div is known, but not the heights of top and mid.
Is there a way to ensure that #top
always displays its content while #mid
fills the space between #top
and #bottom
?
Please note: It can be assumed that at all times,
(#top.height + #bottom.height) > #wrapper.height
, where #wrapper
refers to the container element surrounding the 3 divs.