Last Updated: February 25, 2016
·
3.509K
· mehmetbat

How do I disable textarea resizing ?

Hi,

Css tricks for textarea resizing.

Picture

textarea { 
resize: none; 
}

Picture

End.

3 Responses
Add your response

Nice tip,

you can also use resize:vertical and resize:horizontal for more control. This post by David Walsh covers it well: http://davidwalsh.name/textarea-resize

:)

over 1 year ago ·

Nice trick, but why would you want to disable textarea resizing? It's a very useful feature.

over 1 year ago ·

I prefer to use a "max-width" or "max-height". I think that is better than disable the textarea resize. :)

over 1 year ago ·