I'm facing a challenge in creating a responsive webpage with multiple divs. Here is the structure I am trying to achieve:
<div id="container"> maximum width of 1200 and height of 1000
<div id="vertically-static-top">20 pixels high</div>
<div id="vertically-resizeable-middle">height can be adjusted</div>
<div id="vertically-static-bottom">50 pixels high</div>
</div>
The maximum width and height for the overall container are set to 1200 and 1000 respectively.
The vertically-static divs should resize only horizontally when the browser window is resized, maintaining a fixed height vertically.
On the other hand, the vertically-resizable div needs to adjust both its width and height based on the dimensions of the window.
I am struggling to make the middle div resize vertically while keeping all content within the browser window. Any help would be greatly appreciated!
Thank you!