Recently, I've been experimenting with Electron and attempting to create 2 divs side by side. Despite trying various alignment options found here, nothing seems to be working for me. Here's the code I have so far:
Code
body, html {
height: 100%;
}
.wrapper{
height: 90%;
}
.request-pane {
float:left; /* add this */
margin-left: 10%;
height: 90%;
width: 45%;
border: 1px solid red;
}
.response-pane {
float:right; /* add this */
margin-left: 55%;
height: 90%;
width: 45%;
border: 1px solid black;
}
<div class="wrapper">
<div class="request-pane"></div>
<div class="response-pane"></div>
</div>
I am puzzled as to where I might be going wrong. As a newcomer to HTML, I may be missing something obvious. Any guidance would be greatly appreciated.