PDA

View Full Version : Trying to put an iframe into my website, it says "This iframe can't work in websit


thedon
02-20-2010, 12:25 PM
Can't get this to work

<div>

<!-- Begin Thaifly.com Affiliate Search Module -->

<IFRAME marginwidth="0" marginheight="0" width="220" height="453"
scrolling="no" frameBorder="0" align="center"
src="http://thaifly.galileodirect.com/frame/searchengine_thaifly_th_2.aspx?f
rameAgent=3261"></IFRAME>

<div align="center" style="margin-top: 5px"><a href="http://www.thaifly.com/Home/Airfare/" style="text-decoration: none;
color: black">Cheap air ticket</a></div>

<!-- End Thaifly.com Affiliate Search Module -->

</div>

When I load my website, a blank box appears and in the middle of the box, it says;
"this iframe can not work in this webisite"

gentleone
02-20-2010, 12:37 PM
align="center"
'center' doesn't work for iframes, but I don't know for sure if that's why it doesn't show up.
http://www.w3schools.com/TAGS/tag_iframe.asp

gentleone
02-20-2010, 12:39 PM
I've copied the iframe scr url and pasted it in my browser and I saw the warning as well, so I would contact them, because its something from their side.

thedon
02-21-2010, 02:10 AM
Thanks for that, I was thinking it was on there side as this is the 3rd code they have given me, I wanted to make sure I was not going mad before I give them an ear full.