This page adjusts the height of its iframe to fit the iframe's content. The workings are a bit complicated but if you want to try it:
id, e.g. the one here has
spincontainer.html(the page you are now reading) into yours.
spinadjuster.htmlin the same directory on your web server as the file with the iframe.
The comments in
explain how the technique works.