#Autoresize vertical d'un textarea #http://stackoverflow.com/questions/454202/creating-a-textarea-with-auto-resize <script> function redimtextareas(obj){ obj.style.height='500px'; obj.style.height = obj.scrollHeight + 20 + 'px'; } </script> html: <textarea name="nom" onFocus="redimtextarea(this);" onKeydown="redimtextarea(this);"></textarea> css: textarea{overflow:hidden; /* éviter les scrollbars*/}