39

Possible Duplicate:
How to disable resizable property of TextArea?
How to disable the resize grabber of an HTML <textarea>?

I've inherited a website to maintain and I'm not able to remove the textarea to be resizable or at least to remove the resizable "flag". Here is what I mean :

enter image description here

How can I remove this? it's not problem if it's resizable the problem is this icon showing that it is.

Community
  • 1
  • 1
Gandalf StormCrow
  • 25,788
  • 70
  • 174
  • 263

1 Answers1

68

You need to use resize property to prevent the textarea to be resized.

Demo

textarea {
   resize: none;
}

resize property also takes values like vertical and horizontal to resize the textarea horizontally only, or vertically only.

For Vertical only

textarea { 
   resize:vertical; 
}

For Horizontal only

textarea { 
   resize:horizontal; 
} 
Anbuselvan Rocky
  • 606
  • 6
  • 22
Mr. Alien
  • 153,751
  • 34
  • 298
  • 278