I am facing a scenario where there are 3 divs, with the first and third div having width specified. I am looking to make the second div fill up the remaining space.
Check out this Fiddle for reference: http://jsfiddle.net/YzUQy/
#div1{
height:auto;
text-align:center;
width:290px;
left:0;
float:left;
border: 1px solid #ccc;
}
#div2{
float:left;
overflow: scroll;
border: 1px solid #ccc;
}
#div3{
width: 420px;
border: 1px solid #ccc;
right:2px;
padding:10px;
float:right;
}