Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

document height set by loaded iframe--internet explorer

Status
Not open for further replies.

kharddie

Instructor
Feb 7, 2006
23
AU
Works perfect in all other browsers apart from Internet explorer.the document height in explorer is not resized to the loaded iframe.


any help????? or what am I doing wrong --kharddie
 
Have you thought about not using an iframe? It's not like you're loading content from other domains or anything. You could dispense with it altogether, thus solving your problem.

Hope this helps,
Dan



Coedit Limited - Delivering standards compliant, accessible web solutions

[tt]Dan's Page [blue]@[/blue] Code Couch
[/tt]
 
To:eek:p
The main problem of your page is that you define both iframe with the same name and id "ifrm". The height adjustment routine picks up the wrong iframe to act upon. You should keep the name and id of the central (longer one) as "ifrm" as it is used in the onload and set height routine. Rename the right iframe to something other like "ifrm_right". Then routine for height adjustment should be fine for modern (above nn4) browsers.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top