Hey guys, this has been buggin me for quite a while. I'm trying to write a simple script to make my iframe's height match my "wrapper" div's height. Any ideas? Thanks alot... I was thinking something like this. var wrapperHeight = window.document.style.wrapper.height; window.document.iframe = wrapperHeight; Code (markup):
At a point after the iframe and the div have been rendered, you could try: document.getElementById("The_ID_of_the_Iframe").height=document.getElementById('The_ID_of_the_div').offsetHeight; Code (markup):