Turn off resize textarea

It is very easy to turn off the users ability to resize the textarea. To turn off this feature, use the following css code. This is used to remove the users ability to resize the textarea.

[css]
textarea{resize: none}
[/css]

The two properties that can be used are max-width and max-height. This will give the user the ability to resize
the textarea but limit them to a certain max size. Use the following css command to fix the textarea resizing limit.

[css]
textarea{max-width: 100px; max-height: 100px;}
[/css]

Permanent link to this article: https://blog.openshell.in/2013/07/turn-off-resize-textarea/

Leave a Reply

Your email address will not be published.