Title: Bug with iframe
Last modified: October 5, 2016

---

# Bug with iframe

 *  Resolved [Pierre_02](https://wordpress.org/support/users/pierre_02/)
 * (@pierre_02)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/bug-with-iframe/)
 * Hi Scott.
 * As I can’t use properly a form, I tried to implement it by the use of IFRAME (
   yes I know it’s dirty). So I use this code in my page :
    `<iframe src="/datas/
   form.php" width="100%" height="580" frameborder="0" scrolling="no" style="border:
   0;"></iframe>` but when I generate my static files, the output code become : `
   <iframe src="http://mydomain.tld/datas/form.php" width="100%" height="580″ frameborder
   ="></iframe>` So as you can notice the url have been transformed with an absolute
   path (it was relative, but that’s not the problem) but mainly my iframe html 
   tags have been corrupted…
 * Thanks in advance for your support 🙂 !
 * Amicably,
 * Pierre.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [Scott at Code of Conduct](https://wordpress.org/support/users/codeofconduct/)
 * (@codeofconduct)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/bug-with-iframe/#post-8261352)
 * Hi Pierre,
 * Could you try this one more time with v1.7.0 of Simply Static? I just tried it
   now with the following iframe tag:
    `<iframe src="/datas/form.php" width="100%"
   height="580" frameborder="0" scrolling="no" style="border:0;"></iframe>` (copy
   and pasted from above)
 * and I got this result:
    `<iframe src="http://www.static-site.dev/datas/form.php"
   width="100%" height="580" frameborder="0" scrolling="no" style="border:0;"></
   iframe>` (which seems to work fine)
 * That’s the first I’ve seen where Simply Static is horribly mangling the HTML 
   like that, but let me know if it’s still an issue.
 * Thanks,
    Scott
 *  Thread Starter [Pierre_02](https://wordpress.org/support/users/pierre_02/)
 * (@pierre_02)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/bug-with-iframe/#post-8262149)
 * Hi Scott 🙂 !
 * Thanks here too for the quick answer 🙂 !! It’s seems that there’s a double problem,
   here :)…
    SS mangle the HTML but my theme too (Divi) because they use a lot of
   shortcodes to “gnerate” the render of pages. So they have the same problem than
   SS when they parse that part of code. I just write a ticket to their support 
   to report the problem.
 * Anyway, a big thanks to resolve the problem from your part 😉 !
 * Amicably,
 * Pierre.
 *  [Scott at Code of Conduct](https://wordpress.org/support/users/codeofconduct/)
 * (@codeofconduct)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/bug-with-iframe/#post-8263153)
 * Sounds good. Thanks for the update, Pierre!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Bug with iframe’ is closed to new replies.

 * ![](https://ps.w.org/simply-static/assets/icon-256x256.png?rev=2443263)
 * [Simply Static - The Static Site Generator](https://wordpress.org/plugins/simply-static/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-static/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-static/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-static/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-static/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-static/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Scott at Code of Conduct](https://wordpress.org/support/users/codeofconduct/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/bug-with-iframe/#post-8263153)
 * Status: resolved