W3C home > Mailing lists > Public > www-style@w3.org > March 2010

Suggest a property for autoresizing textarea

From: ATSUSHI TAKAYAMA <taka.atsushi@googlemail.com>
Date: Mon, 29 Mar 2010 03:26:59 -0400
Message-ID: <9cef076f1003290026v545e9a3dy79aa8100677018d8@mail.gmail.com>
To: www-style@w3.org
Hi all,

I got redirected from WHATWG about this topic.
http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2010-March/025655.html

It would be nice if there was a single CSS property that fits textarea
hight automatically to its content. It is clear that this feature is
vastly desired and being implemented with JavaScript. (Search
"autoresize textarea" on the web for example)

I would have thought "hight:auto" should do the job, but that wasn't
the case. Can anyone explain why "height:auto" or "max-height:auto"
for textarea does not work for this purpose?

Thanks,
A. TAKAYAMA
Received on Monday, 29 March 2010 13:24:21 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:25 GMT