I have following HTML snippet:
<div id="container">
<div id="left">Left block</div>
<input type="text" />
<div id="right">Some longer than 200px text</div>
</div>
And CSS:
#container {
width: 100%;
}
#left {
width: 200px;
float: left;
border: 1px solid black;
}
#right {
min-width: 200px;
float: right;
border: 1px solid black;
}
input {
float: left;
}
Is it possible to set input to has all free space width ? I mean it should starts with #left right border and ends with #right left border.
http://jsfiddle.net/thirtydot/fbVdp/