I have an iFrame that needs to display content from another domain. This works fine and I have the height of the iFrame before hand so can set this statically.
The problem encountered is when viewing the iFrame in different browsers.
So, for example, I want to display a page from Wikipedia in the iFrame. This page has a height of 12725px in Chrome, so I can set the height of the iFrame at 12725px.
Viewing this page in Chrome, it fits perfect: http://test.linkinformed.com/temp.html
But view the same page in Firefox or IE, the Wikipedia page content is rendered differently and it no longer fits nicely into the iFrame (ie scroll to bottom of page and the end of the article is hidden).
Given the difficulties in cross-domain iFrame communication, is there a way I can get the Wikipedia content to render identically across browsers? Or is there a way to calibrate or adjust the iFrame height according to browser?