If your design can't accommodate a larger textarea, you might want to reconsider how your design works. How to remove the resize corner from a textarea element? how to forbid resizing of TextArea.For in ASP.NET MVC 2? For Internet Explorer and iOS you can't turn off resizing, but you can limit the textarea dimension by setting its width and height. How do I disable the resizable property of a textarea? How to auto-resize an image to fit a div container using CSS? Write Interview 0. You can simply disable the textarea property like this: To disable vertical or horizontal resizing, use. value is something other than "visible". In many browsers, How do I auto-resize an image to fit a 'div' container? Text processing - Add and number blank line above each line in a file. This is one of those situations where the designer is trying to "break" the user's client. How to set input type date in dd-mm-yyyy format using HTML ? See the Pen CSS Disable resize by Chris Bongers (@rebelchris) on CodePen. How to disable the resize grabber of ): Or, using an id attribute (i.e., ): The W3C page lists possible values for resizing restrictions: none, both, horizontal, vertical, and inherit: Review a decent compatibility page to see what browsers currently support this feature. Here are different properties for resize: Resize both ways (vertically & horizontally): Also if you have width and height in your CSS or HTML, it will prevent your textarea be resized, with a broader browsers support. Note: The resize property applies to elements whose computed overflow To disable resizable property of an element use resize to none. Also resize not supported in Internet Explorer at the moment. This is an HTML 5 attribute, so only newer browsers will support. Any user can add textarea { resize: both !important; } to their user stylesheet to override your preference. To disable resize for all textareas: textarea { resize: none; } To disable resize for a specific textarea, add an attribute, name, or an id and set it to something. Currently, I can resize a textarea by clicking on the bottom right corner of the textarea and dragging the mouse. They come with a default resize property, and we can turn this off by using the following code: textarea {resize: none;} You can try this out on the following Codepen. How to use a not:first-child selector in CSS? textarea { resize: none; } 6. Method 1: Using JavaScript: To change the height, a new function is created which changes the style property of the textarea. It is the default value. css by Ugliest Unicorn on Jun 19 2020 Donate . How to disable resizable property of textarea using CSS? by the user. generate link and share the link here. The CSS to disable resizing for all textareas looks like this: textarea { resize: none; } You could instead just assign it to a single textarea by name (where the textarea HTML is CSS To subscribe to this RSS feed, copy and paste this URL into your RSS reader. A fixed size textarea example .