Wednesday, June 16, 2010

HTML textarea resize in Chrome & Safari(webkit)

The 'resize' CSS property is basically CSS 3 property and it's currently turned ON by default for textarea in webkit. Setting this property to 'none' will disable resizing.

Here is the example -

<textarea cols="50" rows="10" style="resize:none;">
You text
</textarea>

Regards,
Dipak.

1 comment: