In my layout, I have a left div with a percentage width floating to the left, and a right div also floating left that should take up the remaining space. Here is a [fiddle] link for reference: https://jsfiddle.net/gfhfku8k/. Any assistance would be greatly appreciated. Thanks!
HTML:<div class="container">
<div class="left">
</div>
<div class="right">
</div>
</div>
CSS:
html, body {
height: 100%;
width: 100%;
margin: 0;
padding: 0;
box-sizing: border-box;
}
.container {
width: 100%;
height: 100%;
border: 1px solid #000;
}
.left {
width: 30%;
height: 100%;
float: left;
border: 1px solid #000;
overflow: hidden;
}
.right {
height: 100%;
/* width: 30px; */
overflow: hidden;
float: left;
border: 1px solid #f00;
}