height of a textarea with _javascript_, but I don't know any way to
determine how many rows of text are in it currently... unless you turn
off line-wrapping, in which case it will become problematic for users
who expect line-wrap... so... I'd probably just stick with the CSS and
tell them they have to use IE if they want that feature.
> Looks like that only works in IE. Fire Fox 9.2 does not
> stretch the box.
> Mark W. Breneman
> -Cold Fusion Developer
> -Network Administrator
> Vivid Media
> [EMAIL PROTECTED]
> www.vividmedia.com <http://www.vividmedia.com/>
> 608.270.9770
> _____
> From: Ciliotta, Mario [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 10, 2004 3:37 PM
> To: CF-Talk
> Subject: RE: SOT: Help with textarea
> Thanks,
> exactly what I needed. I really have to learn to master
> CSS.
> Mario
> -----Original Message-----
> From: S.Isaac Dealey [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, August 10, 2004 4:23 PM
> To: CF-Talk
> Subject: Re: SOT: Help with textarea
>> Hi all.
>> Is there a way to dynamically resize a textarea element
>> (ie. add rows as the
>> number of lines in the textarea increases)?
>> My users only want one line in the form but as people
>> type
>> they what the
>> textarea to expand automatically.
>> I can do it to a text field but not the textarea.
> try this
> <textarea style="overflow: visible;"></textarea>
> s. isaac dealey 954.927.5117
> new epoch : isn't it time for a change?
> add features without fixtures with
> the onTap open source framework
> http://www.sys-con.com/story/?storyid=44477&DE=1
> _____
> _____
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]