Skip to content Skip to sidebar Skip to footer

HTML/javascript Vertically Expand Textbox When Text Is Too Long

I wish the containing element (either a or element) to automatically expand vertically to accommodate text that has reach the end of line. Is there a way to do this with plain HT

Solution 1:

Sorry, but there is no way to this in plain HTML. With Javascript it's possible though.

Take a look at jQuery plugin: autoResize. Note: this is a plugin for jQuery.

Also, see this thread for more jQuery alternatives.


Post a Comment for "HTML/javascript Vertically Expand Textbox When Text Is Too Long"