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,268
  • 67
  • 168
  • 255

1 Answers1

67

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
  • 521
  • 5
  • 20
Mr. Alien
  • 147,524
  • 33
  • 287
  • 271