views:

298

answers:

1

hi...Safari gives resize handles for text-areas. anyone knows how to stop that? thanx

+1  A: 

You can use CSS3 to prevent the resizing:

textarea {
   resize: none;
}
Husain
thanks. is CSS3 the only alternative?
pixeltocode
I believe so. Safari and Chrome also respect the min/max height and width property so you can control how much resizing your users can do.
Husain
If you want to allow your users to resize the text box vertically, but prevent horizontal resizing, you can set the resize property to vertical. (http://www.w3.org/TR/css3-ui/#resize0)
Husain