View Full Version : Iframe for another site..

02-15-2012, 06:20 PM
Hello Coders,

good day,

i was here again asking some help if is possible to linked my weebly site into other site which on different hosting provider..

is this possible to create an iframe which source come from http://ncibx.com

and will be added into my weebly sites? which is http://neuserivernews.com

that's all

any helps is greatly appreciated.

thank you..

02-15-2012, 10:24 PM
Yes it is possible, and it is quite easy:

<div style="height: 700px; width: 700px;">

<iframe src="http://www.yourwebsite.com" style="border: "0" width="700" height="700" frameborder="0" scrolling="no"></iframe>

Make sure your Doctype on the top of your document is set to Transitional. If it is strict iframes are not allowed and you might not see the page. Example

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

Would be interesting to know if this only occurs, when the website is online, because I can see my iframes even if I change to Doctype to strikt ?