silencedanny  
1. <textarea style="width:420px;overflow-y:visible;"></textarea>
2. <textarea name="textarea" id="textarea" style='overflow-y: hidden;height:20px' onpropertychange="this.style.height = this.scrollHeight + 'px';" oninput="this.style.height = this.scrollHeight + 'px';"></textarea>
posted on 2009-09-11 16:58  SilenceDanny  阅读(728)  评论(0)    收藏  举报