DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world

Benoit has posted 48 posts at DZone. View Full User Profile

Safari 3 - Resizable Text Fields

08.12.2007
| 10399 views |
  • submit to reddit
        With Safari 3, you can resize the TEXTAREA, but you can control this properties with CSS3.


<textarea cols="30" rows="10" style="resize: both;">www.AB-D.fr presents the new TEXTAREA</textarea>

<textarea cols="30" rows="10" style="resize: horizontal;">www.AB-D.fr presents the new TEXTAREA</textarea>

<textarea cols="30" rows="10" style="resize: vertical;">www.AB-D.fr presents the new TEXTAREA</textarea>

<textarea cols="30" rows="10" style="resize: none;">www.AB-D.fr presents the new TEXTAREA</textarea>


<a href="http://www.ab-d.fr/">Links:</a>
<a href="http://www.apple.com/safari/">http://www.apple.com/safari/</a>
<a href="http://www.w3.org/TR/css3-ui/#resize">http://www.w3.org/TR/css3-ui/#resize</a>