iframe in ie & ff & Chrome & Opera

  • Thread starter Øyvind Granberg
  • Start date
Ø

Øyvind Granberg

Hi...

I have this site, based on iframes.
http://www.tresfjording.com/sitemal/

The page shos fine in IE.

But in Chrome, Firefox and Opera, all latest upgrades and updates, the
frames do not come seamless together...
The renderering on the screen is the same in these browser.

It's a little frustrating when a straight forward code is working fine in
IE, but not in others.
Here is the code of the index.htm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head >
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Granberg Online - index</title>
<style type="text/css">
<!--
body {
background-color: #666666;
}
-->
</style>
</head>
<body>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><iframe src="top.htm" width="750" height="150" frameborder="0"
scrolling="No" > </iframe></td>
</tr>
<tr>
<td><iframe src="menu.htm" name="leftframe" width="150" height="350"
scrolling="No" frameborder="0" id="leftframe"> </iframe>
<iframe src="hoved.htm" name="mainframe" width="450" height="350"
scrolling="Auto" frameborder="0" id="mainframe"></iframe>
<iframe src="right.htm" name="rightframe" width="150" height="350"
scrolling="No" frameborder="0" id="rightframe"></iframe></td>
</tr>
<tr>
<td><iframe src="bunn.htm" name="botnframe" width="750"
marginwidth="20px" height="20" scrolling="No" frameborder="0"
id="botnframe"></iframe></td>
</tr>
</table>
</div>
</body>
</html>


I can't see what's wrong here?
Can anyone help me?

--

Vennlig hilsen
Øyvind Granberg

(e-mail address removed)
www.tresfjording.com
 
D

dorayme

Øyvind Granberg said:
Hi...

I have this site, based on iframes.
http://www.tresfjording.com/sitemal/

The page shos fine in IE.

But in Chrome, Firefox and Opera, all latest upgrades and updates, the
frames do not come seamless together...
The renderering on the screen is the same in these browser.

It's a little frustrating when a straight forward code is working fine in
IE, but not in others.
Here is the code of the index.htm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" ....
</html>


I can't see what's wrong here?
Can anyone help me?

For one thing, the value of attribute ³marginwidth² for element
³<iframe>² must be a number.
 
Ø

Øyvind Granberg

I've used the validator and it came out blank...

But it's fixed now...

First of all I had to use frameborder=0 in all iframes
Secondly I had to rearrange my table to one cell for each iframe

now it works fine

:)

--

Vennlig hilsen
Øyvind Granberg

(e-mail address removed)
www.tresfjording.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,575
Members
45,053
Latest member
billing-software

Latest Threads

Top