I have four separate Divs that I would like to position on my page in a specific layout. Here is an image showing how I want them positioned:
https://i.sstatic.net/KBZ1U.pngIn the future, I plan to add multiple svg files to Div 4 and I want it to be scrollable. Please note that I only want Div 4 to be scrollable, not the entire page.
Below is a snippet of my current HTML and CSS code:
#sides {
width: 100%;
font-size: 12px;
overflow: hidden;
/* contain floated elements */
}
.div1 {
float: left;
width: 75%;
height: 60%;
}
.div2 {
margin: 0;
padding: 2;
float: left;
width: 30%;
height: 35%;
}
.div3 {
float: left;
width: 30%;
height: 15%;
}
.div4 {
float: left;
width: 100%;
height: 40%;
}
<div id="sides">
<div class="div1"></div>
<div class="div2"></div>
<div class="div3"></div>
<div class="div4"></div>
</div>
Do you have any suggestions or ideas on how to achieve this layout?