Click to See Complete Forum and Search --> : Wrapping output


florida
02-26-2003, 07:34 AM
I have an input that I want to create word wrap on it after it is entered. If someone enters a long sentence now it shows as one long sentence without wrapping in my output which is a box. The long sentence forces my output box to look like a rectangle.

So I need to wrap the output.

Here is what is happening:

Long sentence keeps going and going where it extends my output box too long.

I need it to wrap in my output such as:

Long sentence keeps going and going
where it extends my output box too long.


Here is my html form part:

<TABLE BORDER=1 CELLSPACING=0 CELLPADDING=3>
<form action="mypage.html" method=post>
<TR>
<TD>
<TH>Heading</TH>
<TD><input name="heading" size=30></TD>
</TR>
</form>
</table>

Jona
02-27-2003, 05:46 PM
Why not use a textarea?

Zach Elfers
02-28-2003, 11:01 PM
Use a textarea.

<textarea cols="65" rows="5" name="heading" wrap="physical"></textarea>