Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2012
    Posts
    30
    Thanks
    22
    Thanked 0 Times in 0 Posts

    Iframe for another site..

    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..

  • #2
    New Coder
    Join Date
    Sep 2011
    Location
    United Kingdom
    Posts
    72
    Thanks
    2
    Thanked 3 Times in 3 Posts
    Yes it is possible, and it is quite easy:
    Code:
     <div style="height: 700px; width: 700px;">
    
    <iframe src="http://www.yourwebsite.com" style="border: "0" width="700" height="700" frameborder="0" scrolling="no"></iframe>
    </div>
    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
    Code:
    <!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 ?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •