View Full Version : Adjust IFRAME height within table..

03-16-2011, 03:49 PM

I am trying to dynamically adjust the height of my iframe. The value for
document.getElementById("myframe").document.body.scrollHeight always returns a value 518 although the page loaded in iframe is much bigger.
Let me know what am I missing here? Is this because I have positioned the iframe in a table? What is the best method to do this?

The structure of the page is as below
<tr><td><iframe id="myframe">...