I've been messing with iframes all day now, and they're driving me crazy. I'm trying to make the iframe automatically adjust to its content, but it's not working. None of the scripts I found on Google made it work.
I have an iframe on my parent page, that contains dynamic content. When you go to the website, the iframe opens a page with a div tag that's 335px tall. When you click a link on the parent page, the content of the iframe changes and it opens another page, this time containing a div that's only 100px tall.
If anybody could tell me how to make the iframe adjust autmatically, I'd be very thankful
Here it is (you'll immediately see the problem):