Go Back   CodingForums.com > :: Client side development > HTML & CSS

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 02-19-2012, 02:04 PM   PM User | #1
johnmarcjohn
New to the CF scene

 
Join Date: Feb 2012
Posts: 1
Thanks: 1
Thanked 0 Times in 0 Posts
johnmarcjohn is an unknown quantity at this point
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>
johnmarcjohn is offline   Reply With Quote
Old 02-19-2012, 06:21 PM   PM User | #2
felgall
Master Coder

 
felgall's Avatar
 
Join Date: Sep 2005
Location: Sydney, Australia
Posts: 5,465
Thanks: 0
Thanked 499 Times in 491 Posts
felgall is a jewel in the roughfelgall is a jewel in the roughfelgall is a jewel in the rough
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/
felgall is offline   Reply With Quote
Users who have thanked felgall for this post:
johnmarcjohn (02-20-2012)
Reply

Bookmarks

Tags
chrome, iframe, internet explorer, mac, safari

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 04:08 PM.


Advertisement
Log in to turn off these ads.