1

I have a textbox on a form for people to report errors. I need it to big enough to type in a short paragraph. I made the height 200px, but when I type in it the text is in the center of the textbox instead of the top left corner, and it doesn't wrap when I get to the edge.

How do I align it and make it wrap?

1
  • 2
    the textarea element would be more applicable in this situation Dec 23, 2014 at 21:46

2 Answers 2

0

Use a textarea element with the desired height:200px; styling. The user can also resize it to make it bigger at will.

https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea

0

Try using textarea instead.

<textarea name="textarea" id="textarea" cols="45" rows="5" style="height:200px"></textarea>

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.