...

View Full Version : HTML iFrame works in ONLY Safari...



johnmarcjohn
02-19-2012, 02:04 PM
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>

felgall
02-19-2012, 06:21 PM
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.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum