Re: "style" attribute within "TEXTAREA" tag with large contents
From: David C. Holley (DavidCHolley_at_netscape.net)
Date: 06/06/04
- Previous message: David C. Holley: "Re: Save form results to database and email with a single Submit"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 05 Jun 2004 20:42:32 -0400
Well, I would ask wether or not there's a specific reason to display the
information in a <TEXTAREA> if you're not going to be doing anything
with the information. Why not just display the information as regular text
David C. Holley
www.gatewayorlando.com
ohaya wrote:
> Hi,
>
> I'm trying to diagnose a problem with a page that we're serving. This
> problem only occurs when IE6 is used as the browser.
>
> The page is a kind of log display, and the log output is displayed
> within a TEXTAREA. When the contents of the TEXTAREA is very large
> (~7MB), it seems like IE just hangs. Actually, I'm not sure if IE is
> hanging, or just taking a long time (I've waited overnight), but CPU
> Utilization under Task Manager goes to 100%.
>
> The original markup looks like:
>
> <TEXTAREA id="whatever" name="whatever" rows="16" cols="100"
> style="position: absolute; left: 2px; top: 2px; width: 0px; height:
> 0px;">
>
> ... large text content generated dynamically ...
>
> </TEXTAREA>
>
>
> Just out of desparation while testing, I removed the 'style' attribute
> from the TEXTAREA tag:
>
> <TEXTAREA id="whatever" name="whatever" rows="16" cols="100">
>
> ... large text content generated dynamically ...
>
> </TEXTAREA>
>
> and after doing this, and going to the page with IE, the output appeared
> within seconds!!!
>
>
> My conclusion thus far is that having the 'style' attribute in the
> TEXTAREA tag is the cause of the hang/slowdown.
>
> FYI, this page was made by another person, who's no longer here, so I
> don't know exactly what he/she was trying to accomplish by having the
> 'style' attribute in the TEXTAREA tag :(, so I'm wondering if anyone
> here might have any insight into this before I simply delete the 'style'
> attribute?
>
> BTW, the page does display in Netscape. It's only a problem with IE.
>
> Thanks,
> Jim
- Previous message: David C. Holley: "Re: Save form results to database and email with a single Submit"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|