Autosizing textbox

Autosizing textbox

am 07.04.2008 21:52:59 von Tirrell Cotton

Doe sanyone know how I can make a multiline text box that grows vertically
as more text is entered (basically no scroll bars)?

Re: Autosizing textbox

am 08.04.2008 00:39:46 von PopeDarren

I threw this together haphazardly for IE 6. I didn't test it on other
browsers, but you could use it as a starting point if you don't mind
using javascript.

The script.
=A0 =A0

And here are the form elements. The textbox was only for debugging
purposes.
=A0
=A0 =A0

This assumes that you're starting with an empty textarea, so you'll
have to add to it a bit if the textArea is full. Hope it helped!

Re: Autosizing textbox

am 09.04.2008 22:28:39 von Tirrell Cotton

That worked ( after a little tweaking for server side controls). I also
managed to get the textbox to shrink if text is removed. Thanks again.


"Tirrell Cotton" wrote in message
news:958C1DA3-65B4-468F-AA6F-08ADF66371A0@microsoft.com...
> Doe sanyone know how I can make a multiline text box that grows vertically
> as more text is entered (basically no scroll bars)?