Here's the code:
<div style="width:400px">
some text..
<input type="text" />
<button value="click me" />
</div>
How can I make the input element expand to fill all the remaining space, while staying on the same line?
If I put 100% it goes to a line of its own...
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…