Now try adding/removing text from the sample.html file and reloading the index.html document.
You will see that the iframe height is automatically adjusted to ensure only the minimum height required to accomodate the sample.html document is used.
No scrollbars ever again!!