[Solved – 11 Answers] How to disable resizable property of textarea
- How to disable the resizable property of a textarea?
- We can resize a textarea by clicking on the bottom right corner of the textarea and dragging the mouse.
How we can disable this?
- To disable textareas, we can tried the following.
- The following CSS rule disables resizing behavior for textarea elements:
- CSS :
- We can try this :
- This is one of the best solution :
- Html :
- CSS property:
- you can use CSS inline style property :
- or in between <style>…</style> element tags
- Try with jQuery also
- To resize your textarea’s only horizontal or vertical,
- Finally, resize: both enables the resize grabber.
- Use the CSS3 resize(http://www.tutorialrepublic.com/css-reference/css3-resize-property.php) property to remove or turn-off the default horizontal and vertical resizable property of the HTML <textarea>(http://www.tutorialrepublic.com/html-reference/html-textarea-tag.php) element.
- This property will also hide the resizing at the bottom-right corner of the textarea.
- Specify that a <div> element should be resizable by the user:
- you can resize by restrictions i.e. none, both, horizontal, vertical, and inherit.
- For below code, user can resize vertically, but the width is fixed.
![[Solved – 11 Answers] How to disable resizable property of textarea](https://www.wikitechy.com/technology/wp-content/uploads/2017/03/1-2.png)