Click to See Complete Forum and Search --> : can <textarea> be adjustable?


tim_kinder
01-31-2006, 12:52 AM
Hello,

is there any way to make <textarea> element occupy all space difined by outer - <td></td>, <div></div>, etc.? something like that :

<table>
<tr height="100"><td width="200">
<textarea name="ta">I want this to occupy all space 200x100</textarea>
</td></tr>
</table>

Sincerely,

Tim Kinder?

bathurst_guy
01-31-2006, 01:13 AM
style="width: 200px;height:100px;min-height:100px;"

or

style="width: 100%;"

you may also have to include cols="x" and rows="x" depending on the doctype your using