iframe issue in Firefox

3 views
Skip to first unread message

Drummer361

unread,
Oct 15, 2007, 9:57:19 PM10/15/07
to A Professional Web Design Group
Hey all,

This code works fine in MSIE and Netscape, but in FireFox/Mozilla it
will scroll to the end of the document, but then it never resizes to a
shorter page afterwards, so after viewing a very long page, it will
always remain that length.

<iframe src="/home.asp" width="790" frameborder="0" marginheight="0"
marginwidth="0" scrolling="no" id="site" name="site"
onload="this.style.height = site.document.body.scrollHeight + 2"></
iframe>

Anybody have any ideas on how to solve this issue in Mozilla/Firefox?

Thanks!

Tyler

Reply all
Reply to author
Forward
0 new messages