Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Embedded iFrame showing up as 404
Working with code below to embed another site on my weebly page. Upon publish it comes up as a tiny iframe with a 404 error code.
Code:
<iframe frameborder=“0” width=“100%” height=“100%” src=“https://www.cccaaammm.com/“></iframe>
Publishing Weebly site to: https://hexpox.weebly.com/
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
1 REPLY 1
PaulMathews
02-27-2021
11:27 AM
Thread Options
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@hexpox The source url in the iframe, https://www.cccaaammm.com/, looks fake so I'm not surprised that it delivers a 404 not found error page. As far as the size of the iframe, 100% height generally doesn't work for iframes. Instead, try a percentage of the viewport height like "height: 90vh". There are fancier ways to do fully-responsive iframes but the viewport height is a reasonable quick-and-dirty method.
Reply
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report