<textarea name="comment" id="comment" cols="60" rows="8" wrap="VIRTUAL" style="width:400px;height:200px;"Just replace the "width:400px" with "width:100%" in the "style" attribute. This is slightly sub-optimal, as the 100% width is 100% width of the table row containing it, but it's close enough. Make the table slightly wider (it's width is 90%, make it 95%) and you've got a textarea that resizes to the browser's width, and still has decent whitespace at the margins.
onfocus="this.style.background='#ddd';" onblur="this.style.background='#ccc';"
>
posted by Blazecock Pileon at 5:47 PM on September 20, 2007