 <p>But the iframe call a foreign page. I don't have this page in my solution. I tried some javascript like </p> <p><code>function resizeFrame(f) { f.style.height = f.contentWindow.document.body.scrollHeight + "px"; }</code></p>