I am working on site where I am using iframes for dynamic html files.
Each html file having own length and my iframe height is fixed.
How can I set auto height for each page coming in iframe?
The content file won't resize the IFRAME dimensions with HTML alone are you sure you want an IFRAME.
A better alternative would be to use an include statement and just stick the html into your existing page. Although this is not always suitable.
An example of a PHP include statement:
<?php require("blabla.html"); ?>
Yes, Ryanhellyer is saying right.
Sorry for not being clear!
When you put iframe somewhere to call any external file into that iframe, then you have to set iframe height. Right!
Now I want to set page height as per external page height so that no scroll appears around iframe.
And, my problem is that my contents are dynamic page height will vary page to page.
Is there any way to set iframe height on runtime automatically.