I have a something similar to:
<div>
some text some text <input type="text" /> some text some text.
</div>
I want everything to be on one line but I want the textbox to be as large (width) as possible. The problem is that I don’t know the length of the text on both side (it changes on each page).
How can I do this with css? (width: 100% does not work)
Try this. Couldn’t figure out a way to do this without using javascript. Change the width of
divand see how the input resizes.http://jsfiddle.net/blackpla9ue/TzpDW/2/