Js controls the height and width of the iframe to make it adaptive to the content



<mce:script language= "Javascript "><!--

window.onload=function()
{
parent.document.all("iframe1").style.height = document.body.scrollHeight;
parent.document.all("iframe1").style.width = document.body.scrollWidth;
}
// --></mce:script>