Friday, April 9, 2010

safari disable resize textarea

You can use the CSS3 'resize' property to "specify whether or not an element is resizable by the user":


textarea
{
resize:none;
}


or you can use


textarea
{
max-width: 175px; /* RESTRICT SAFARI RESIZE */
max-height: 250px; /* RESTRICT SAFARI RESIZE */
}

No comments:

Post a Comment