how to wrap the text in textarea so that word will not be overflown to rightside and written in new line.
+3
A:
Set the wrap
attribute to "hard"
like this:
<textarea
cols="10"
rows="4"
wrap="hard"></textarea>
Andrew Hare
2009-11-28 17:52:50
A:
According to a www.htmlref.com, the textarea wrap attribute is not fully standardized, but wrap="off | physical | virtual" is supported by IE and wrap="hard | off | soft" is supported by Netscape 4 (whatever that means for modern browsers).
ssc
2009-12-21 05:23:25