Controlling the Textarea Tag In Safari

January 20th, 2009

If you’ve used Safari for any amount of time, there’s a good chance you’ve noticed it allows users to resize textarea sizes. This can be a cool feature, but not always a good one. It’s not likely to do any real harm, but it may break your layout. Of course, some could argue that that’s the user’s choice. Well, I can see that. But for those times or people that require a little more control, use this:

textarea{max-width:200px;}/*Insert your value here.  Additionally, you could add textarea width and height values which ensures that it will look the same across all browsers.*/

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • E-mail this story to a friend!
  • Technorati

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment