Can you make that into an external style instead of an inline style?
You''ve got mozilla-specific code in that inline style that is
most-likely throwing IE off..
#maptable #container{
position:absolute;top:0px;
left:0px;
width:100%;height:100%;opacity:.0;
cursor:hand;z-index:2000;
}
/* IE will skip these rules */
html>body #maptable #container{
filter:alpha(opacity=0);-moz-opacity:0.0;
}
That, and I think that inline styles are the tool of the devil :)
Does that help at all?
-----Original Message-----
From: rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
Behalf Of John Cole
Sent: Tuesday, November 22, 2005 1:28 PM
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Subject: [Rails] WinXP IE render_text leak?
Was wondering if anyone could tell me why the following render_text line
seems to consume vast amounts of memory under IE.
render_text "<div id=\"maptable\"><div
id=\"container\"
style=\"position:absolute;top:0px;left:0px;width:100%;height:100%;opacit
y:.0;filter:alpha(opacity=0);-moz-opacity:0.0;cursor:hand;z-index:2000;\
"></div></div>"
I''m not completely sure but it seems related to the transparency bit.
Thanks,
John Cole
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails