test iframe <iframe src="hello.html" onload="this.style.height=this.contentDocument.body.scrollHeight +'px';"> </iframe>