This has been asked many time, but I ask because no solution has worked for me and I have not found many of the right kinds of solutions. I want a static width, but a dynamic height based the inner content.
I'm hosting a blog on a subdomain, and am inserting it via iframe into a page on my main domain. I could set a static height and scroll so that users could still use the blog, but I want something that looks better. When I make new posts, or the user clicks on the comment section, I want the iframe to be able to automatically adjust in size, so that it can display all content without a scroll bar.
So far, I haven't found solutions that work, mainly because many involve pages that are on the same domain.