0

I am trying to make a textarea but I want to make it so the user cannot make it bigger or smaller. I still want them to be able to type in it. Just not control the textarea with the little control button in the bottom right corner. Any suggestions?

  • Possible duplicate of http://stackoverflow.com/questions/5235142/how-to-disable-resizable-property-of-textarea – soktinpk Oct 27 '14 at 03:01

3 Answers3

1

You will need to set the resize property of your textarea to none:

textarea {
    resize: none;
}

textarea {
  resize: none;
}
<textarea rows="4" cols="50">
  At w3schools.com you will learn how to make a website. We offer free tutorials in all web development technologies.
</textarea>
Fahad Hasan
  • 10,231
  • 4
  • 29
  • 36
  • @zacharyfoster You're welcome. Please mark my answer as the correct one so that users can know your query has been answered. Thank you. – Fahad Hasan Oct 27 '14 at 03:15
1

use this:

textarea { resize: none;} 
Kypros
  • 2,997
  • 5
  • 21
  • 27
Shariq
  • 275
  • 2
  • 5
0

you can do this with resize: none set on textarea

jmore009
  • 12,863
  • 1
  • 19
  • 34