Resizing iframe to fit its content
- by Ahmy
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