Resizing iframe to fit its content

Posted by Ahmy on Stack Overflow See other posts from Stack Overflow or by Ahmy
Published on 2009-03-31T14:47:40Z Indexed on 2010/06/03 15:34 UTC
Read the original article Hit count: 264

Filed under:
|

I have an iframe where the src is an htm file and this iframe is put inside usercontrol :

<iframe frameborder="0" src="CName.htm" align="left" width="730" height="1100" ></iframe>

i need the iframe to resized according to the content so that it's height is set according to the hieght of the html file and i don't need to use scrolling attribute do u have any ideas?

Duplicate - see http://stackoverflow.com/questions/153152/resizing-an-iframe-based-on-content

© Stack Overflow or respective owner

Related posts about iframe

Related posts about resize