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 to the CF scene
    Join Date
    Feb 2012
    Posts
    1
    Thanks
    1
    Thanked 0 Times in 0 Posts

    HTML iFrame works in ONLY Safari...

    Hey, I a realitivly new to HTML5 and Css. I have started this site, and its halfway decent, got it going, sent it to a buddy only to find every browser EXCEPT Safari(Mac) only displays the top portion, I have scoured the sites, and this is my first attempt at posting this... I would like to use only HTML5... IF possible.

    Here is the code... I made it three frames with html pages linked.
    Thanks in advance!
    JM

    <!DOCTYPE html>
    <html>
    <head>
    <title>Test Site</title>
    <link rel="stylesheet" type="text/css" href="style.css" />
    </head>
    <body>
    <div id= "cols">
    <div id="leftcol">
    <iframe src= "leftcol.html" width="200px" height="500px" align="left" frameborder="0" iframe scrolling="no">
    </iframe>
    </div>
    <div id="midcol">
    <iframe src= "midcol.html" width="60%" height="150%" align="left" frameborder="0" iframe scrolling="no">
    </iframe>
    </div>
    <div id="rightcol">
    <iframe src= "rightcol.html" width="20%" height="150%" align="left"frameborder="0" iframe scrolling="no">
    </iframe>
    </div>
    </div>
    </body>
    </html>

  • #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,622
    Thanks
    0
    Thanked 645 Times in 635 Posts
    I can't see any reason why that HTML wouldn't work so the problem is likely to be elsewhere.

    That's HTML 3.2 though and not HTML 5.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    johnmarcjohn (02-20-2012)


  •  

    Tags for this Thread

    Posting Permissions

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