geoffdude 4 Posted May 2, 2017 Report Share Posted May 2, 2017 Howdy, I have a data page/HTML page I'm building and I want to place my company's header and footer on the page via an iframe. When I place the iFrame code though, the page will NOT show the header or footer content. Any idea why this may be happening? And, can it be fixed? Here's the iframe code: <iframe src="http://www.ocregister.com/headerfooter?load=header" style="border:0px # none;" name="ocrHdr" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="175px" width="1200px"></iframe> Thanks in advance, Geoff Quote Link to post Share on other sites
0 Mathilda 66 Posted May 2, 2017 Report Share Posted May 2, 2017 7 hours ago, geoffdude said: Howdy, I have a data page/HTML page I'm building and I want to place my company's header and footer on the page via an iframe. When I place the iFrame code though, the page will NOT show the header or footer content. Any idea why this may be happening? And, can it be fixed? Here's the iframe code: <iframe src="http://www.ocregister.com/headerfooter?load=header" style="border:0px # none;" name="ocrHdr" scrolling="no" frameborder="0" marginheight="0px" marginwidth="0px" height="175px" width="1200px"></iframe> Thanks in advance, Geoff Hi Geoff, It looks like the reason is mixed content. If you load unsafe code in your browser, the header will appear. The source of the iframe has http protocol, the datapage is on the https. I found a few posts here and here which may be helpful Quote Link to post Share on other sites
Question
geoffdude 4
Howdy,
I have a data page/HTML page I'm building and I want to place my company's header and footer on the page via an iframe.
When I place the iFrame code though, the page will NOT show the header or footer content.
Any idea why this may be happening? And, can it be fixed?
Here's the iframe code:
Thanks in advance,
Geoff
Link to post
Share on other sites
1 answer to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.