0

I have this text input in a form:

<input type="text" rows="3" />

I am trying to get it to take multiple lines of input. Though the user can only (at the moment) enter text on one line.

How do I make the input more like a textarea, though without the expanding text area icon (bottom right)?

I would like this: textarea

Not this: textarea

Gabriel
  • 96
  • 2
  • 9

2 Answers2

1
<textarea></textarea>

textarea {
 resize: none;
}
Punitha Subramani
  • 1,467
  • 1
  • 8
  • 6
0

This link might help you out with the resize issue:

Link

For styling, try google. :)

Community
  • 1
  • 1
Bokdem
  • 436
  • 3
  • 9