By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,626 Members | 1,376 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,626 IT Pros & Developers. It's quick & easy.

Dynamic Resize TextArea?

P: n/a
Can anyone recommend a way to dynamically resize a textarea? I
already have it inside a <div> for positioning on a page, but I would
like to have the textarea always fill the div so I can resize
according to the div as well.

Or any other option.

Thanks.
Jul 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a

"bdwise" <br************@hotmail.com> wrote in message
news:59**************************@posting.google.c om...
Can anyone recommend a way to dynamically resize a textarea? I
already have it inside a <div> for positioning on a page, but I would
like to have the textarea always fill the div so I can resize
according to the div as well.
Doesn't sound like such a great idea.

You can add rows and columns to a textarea with a little scripting

textarea_reference.rows=20;

Jeff

Or any other option.

Thanks.

Jul 20 '05 #2

P: n/a
Jeff Thies wrote:
"bdwise" <br************@hotmail.com> wrote in message
news:59**************************@posting.google.c om...
Can anyone recommend a way to dynamically resize a textarea? I
already have it inside a <div> for positioning on a page, but I would
like to have the textarea always fill the div so I can resize
according to the div as well.

Doesn't sound like such a great idea.

You can add rows and columns to a textarea with a little scripting

textarea_reference.rows=20;


What about using some CSS instead? Something like style="width: XX%"
will probably do what they want. At a guess they will need to use 100%
to do what you want to do. That would be 100% of the DIV right?
David
Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.