How to align two div elements side by side while specifying the width of only the right div? I want the right div to be of fixed width and the left div to take the remaining space.
<div style="width:100%;"><div class="left">left div</div>
<div class="right">right div</div></div>
.left{
float:left;
background:green;
width:100%;
}
.right{
background:red;
width:200px;
}
Thanks.