Support » Themes and Templates » How to set automatic height for iframes?

  • I’m using iframes in my WP posts to grab some styled content that I don’t want to be affected by the global CSS properties of the template.

    See for example:
    http://www.regrettablemusic.com/

    My problem is that I want the height of the iframe to automatically fit the height of the content it’s displaying. Does anyone have an easy CSS solution, or an easy to setup javascript that will do the same? I’m not javascript savvy, so modifying someone else’s code without guidelines would be rough.

    …Or is there some better solution to this than using iframes at all? I just want the html / css content of the post to not be jumbled by the global style sheet properties.

    BIG THANKS for any help…

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to set automatic height for iframes?’ is closed to new replies.