09-02-2010, 06:47 PM
|
#5 (permalink)
|
|
is cute and cuddly
Join Date: Mar 2008
Location: Vegas, Baby
Posts: 963
Thanks: 31
|
It's supported natively by all browsers implementing the CSS 3 UI, so we're looking at Chrome, Safari, FireFox 4, et al. No word on IE, or at least I couldn't turn anything up on Google. You can control it too;
css Code:
textarea { resize: both; /* default */ resize: vertical; resize: horizontal; resize: none; /* off */ }
I know this isn't what you were necessarily asking but I'll throw in a quick mention for clarity; if you want the textarea to automatically resize, ala Facebook, you will definitely have to incorporate a JavaScript solution.
__________________
uʍop ǝpısdn sı ɹǝʇndɯoɔ ɹnoʎ sıɥʇ pɐǝɹ uɐɔ noʎ ɟı
|
|
|
|