In any browser developed starting from the rendering engine WebKit (by appointment as Safari or Google Chrome ), the fields textarea show, bottom right, the characteristic feature of resizing. If this peculiarity may prove very useful in some cases, in others it becomes a nuisance element. Fortunately, you can control this behavior directly from the style sheet, simply by acting in CSS using resize :
1 2 3 4 | / * Supports auto, Both, horizontal, none, vertical * / textarea { ; resize: none; } |











Hello
but this property is applicable to other browsers (thus allowing scaling of FF or Opera for example) or is an extension of the owner of webkit?
@ Engelium:
resizepart of CSS 3 partially supported by the various browsers available. WebKit, Safari and Chrome then, are the only - I know - that have already implemented. . As part of the specific W3C/CSS3, should be supported in future releases of browsers like FireFox, Opera, etc. ... for the worst, as already happens with theborder-radius, will use different names, such as-moz-resize. For FireFox, however, as well as various scripting Javascript "amule" such behavior, there is also an add-on Resizeable TextareaWell I was interested as a webmaster so the fact that there are addons I userjs or changes little
thanks for the answer
That's just what I wanted.
Thank you!
And congratulations for articles.
[...] Very short trick: disable the resizing of a textarea on Safari [...]
So it is not valid CSS2 and CSS3?
Mmmmm ....
@ Napolux:
as you know the latest browsers have begun to support - in part - CSS3. I think that where both the supported CSS3
resizeit and then you can disable it. In those that do not supprot this approach goes unnoticed ... or at least I hope