I have a situation with 3 divs where the first and the third div have width. I want the second div to fill up the remainning space.
Fiddle: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;
}