I have a div that contains a label, a textarea and a button:
<div style="height: 300px;">
<label>Label</label
<textarea/>
<input type="button" value="Save"/>
</div>
and what for the textarea to fill the remaining div.
How can the textarea fill the remaining height without calculating it. If I give height: 100% it gives the textarea a height that is outside the 300px;
EDIT: I have changed from textbox to textarea as some comments suggested.
Also what I want are the 3 controls to be in a stack one below the other.