Currently, I am in the process of designing a website that is tailored to perfectly fit within the browser window. Here's a brief overview of the layout:
At this point, the Red area is set as display:block, while the Green area has been configured with display:block and margin-right:200px. The Blue areas, nested within a div, are floated to the right.
The width has been successfully adjusted, but now I am seeking guidance regarding the height. Both the Red and Dark Blue areas have fixed heights, yet I need the Green and Light Blue areas to adapt their heights according to the browser window view.
I have attempted to utilize box-sizing, however, it seems to surpass the height of the window view by extending all the way to maximum height of the window. My explanation might be a bit confusing, so any advice or suggestions would be greatly appreciated. Thank you!