How can I disable the resizable property of a textarea?

JamesCroni

Newbie
Mar 10, 2020
2
0
1
Hello,

I want to the way to disable the resizable property of a textarea. Currently, I can resize a textarea by clicking on the bottom right corner of the textarea and dragging the mouse.

How can I disable this?
 

edwin

Newbie
Sep 28, 2017
35
2
8
The following CSS rule disables resizing behaviour for textarea elements:

You don't have permission to view the spoiler content. Log in or register now.

To disable a specific textarea with the name attribute set to info (i.e., <textarea name="info"></textarea>):

You don't have permission to view the spoiler content. Log in or register now.

Or, using an id attribute (i.e., <textarea id="info"></textarea>):

You don't have permission to view the spoiler content. Log in or register now.
 

Advertisement

Top