Web Hosting Forum - Net Hosting Talk

We are a community of individuals and businesses passionate about web hosting. Let's build, learn, and grow together.

How can I disable the resizable property of a textarea?

JamesCroni

Novice
Member
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?
 
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
  • Advertisement

    Back
    Top