How to arrange two division vertically Here is my division code
.containerLeft {
width: 50%;
float: left;
}
.containerRight {
width: 50%;
background-color: skyblue;
}
<div class="containerLeft">
<input type="text" id="mytext" />
<select id="myList" multiple="multiple"/>
</div>
<div class="containerRight">
<input type="button" class="myButton" value="A"></input>
<input type="button" class="myButton" value="B"></input>
<input type="button" class="myButton" value="C"></input>
</div>
I would like to get the first div container above to share 50% of the screen and the second div container with the buttons share remaining 50% .both container should stand Side by side.
Any help is appreciated. Very new to HTML. so please let me know if it is not right approach to get two panels side by side.