Hello and welcome to our community! Is this your first visit?
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
    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!

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

  2. #2
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Sydney, Australia
    Thanked 932 Times in 919 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.
    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.

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