Can I use an iFrame with width and height at 100%?

  • 1
  • Question
  • Updated 7 years ago
  • Answered
  • (Edited)
Can I use a Iframe with width and height at 100% in a yola page?????
Photo of LeonardoC

LeonardoC

  • 14 Posts
  • 0 Reply Likes

Posted 7 years ago

  • 1
Photo of Nathan

Nathan, Champion

  • 3739 Posts
  • 307 Reply Likes
Hi LeonardoC,

If I an understanding you correctly, you would like your whole entire page to have an iframe on it?

While that's not entirely possible because of the template boundaries, you can put an iframe in an HTML widget like this:


<iframe src="http://google.com/" style="width: 100%; height: 400px; border: 0;" border="0">
<!-- Message to display if the browser doesn't support iframes: -->
Your browser does not support iframes. Please upgrade to the newest version.
</iframe>


You can change the height to whatever you like, and the width will be the width of the content area of the template.

Nathan