U wilt iets in die aard:
als (isIE ()) {
text_area.style.height = text_area.scrollHeight + „px“;
} anders {
text_area.style.height = 0;
text_area.style.height = (text_area.scrollHeight -2) + „px“;
}
zie
http://bytes.com/topic/javascript/answers/615386-dynamically-resizing-height-textarea-known-width