Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to stop a textarea from word wrapping? [duplicate]

Possible Duplicate:
how remove wordwrap from textarea

Is it possible to stop a textarea element widget from word-wrapping?

like image 388
benstpierre Avatar asked Dec 08 '25 02:12

benstpierre


1 Answers

You can set it to wrap to "off":

<textarea name="abc" wrap="off"></textarea>

Yup - How remove word wrap from textarea? explains it better.

like image 60
Joe Avatar answered Dec 10 '25 17:12

Joe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!