That limitation is one reason why frames (and iframes) are bad and you should never use them
There are others, as well...
However, if you're set on this, there are JavaScript-based ways of checking how big the content of an iFrame is, and then resizing it to fit. Google is the best place to go, but here's a starter for ten:
http://www.devpapers.com/article/200.