Auto-Size IFRAMEs ⛔

This tool allows you to auto-size IFRAMES to their content.

DEMO - Auto-Size IFRAMEs

The yellow area and lipsum text below are the content of an IFRAME.

Refresh the page to generate new random lipsum text, and watch the IFRAME re-calculate the size accordingly.

The IFRAME is being auto-sized to the content it contains. In this design, it will not truncate the content, or have unnecessary padding below. It also does not require scrollbars.

Automatically sizes the IFRAME to fit its content.

IFRAME Starts Here

IFRAME Ends here.

  • May not work with cross-domain content.

  • May not respond to dynamic IFRAME content changes.

Last updated