Link to home
Start Free TrialLog in
Avatar of Nicole Johnson
Nicole Johnson

asked on

Weird message shows in Explorer "This content can’t be shown in a frame"

I have a website, when I go to it. I keep getting a weird message. It only shows in Explorer.  

No message in chrome.  Just a blank space.

http://www.positiveglobalnetwork.info


Its is saying:
This content can’t be shown in a frame
There is supposed to be some content here, but the publisher doesn’t allow it to be displayed in a frame. This is to help protect the security of any information you might enter into this site.
Avatar of David Favor
David Favor
Flag of United States of America image

Likely fix...

1) Set a DOCTYPE.

2) Keep in mind, the following is the only valid DOCTYPE for a frameset based page...

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
       "http://www.w3.org/TR/html4/frameset.dtd">

Open in new window


3) Frameset has been deprecated for years. Likely most browsers will render this correctly with a correct DOCTYPE set.

Without a DOCTYPE set, likely most browsers won't render your page.

4) My guess is some mobile devices won't even try to render this old school HTML at all, even with a correct DOCTYPE.

I'd suggest you switch to using HTML5.

With HTM5, you'd use something like...

<object data="foo.html" type="text/html"><p>Fallback message!</p></object>

Open in new window


Likely you can turn up some online guides which cover all the gory detail of updating to HTML5.
ASKER CERTIFIED SOLUTION
Avatar of Paul MacDonald
Paul MacDonald
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Likely solution(s)