• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 312
  • Last Modified:

IFrame / Frame HTML

Hi guys,

I would like to IFRAME a url but it returns: "this content cannot be displayed in a frame", or if I use Frame, the page will show in full.

someone knows if possible?

Thank you!
  • 2
  • 2
1 Solution
Is it something like this or did I misunderstand you?

<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN"><html>
<title>URL in Iframe</title>
<table cellspacing="0" cellpadding="0" width="100%" border="0" bgcolor="#000066">
	<td valign="top" width="10%" height=1000 bgcolor="#000066">
	 I am going to put url in iframe	
	<td valign="top" width="80%">
		<IFRAME SRC="yourURL.html" Name="iframename" style="width: 100%; height: 100%"></IFRAME>

Open in new window

randybucaoAuthor Commented:
thank you for the reply.

sammy, I tried it, but this website/url I am using IFrame on part will just open my webpage but once loading the Iframe, it will refresh to their website/url.

example, if I save your code above as http://mydomain.com/iframe.htm, then use url "http://otherdomain.com/iframe.htm" as "url.htm",  when I load my page, it will automatucally refresh and will jump to: "http://otherdomain.com/iframe.htm".
Dave BaldwinFixer of ProblemsCommented:
That would happen if you tried to put some of my pages in your iframe because I have code to force my page to be the main page.  Are you trying to load a Google or Youtube page?  They generally don't allow their pages to be displayed in a frame or iframe.
randybucaoAuthor Commented:
not google or youtube, but something else website. Dave, i guess no other option or not possible to IFrame then?
Dave BaldwinFixer of ProblemsCommented:
Not if they have it blocked.  A lot of sites do block displaying in a frame.  They don't want you using their content.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now