![]() |
iframe in ie & ff & Chrome & Opera
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 tresfjording@live.no www.tresfjording.com |
Re: iframe in ie & ff & Chrome & Opera
In article <4938747c$1@news.broadpark.no>,
Øyvind Granberg <tresfjording@live.no> wrote: > 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. -- dorayme |
Re: iframe in ie & ff & Chrome & Opera
I took all the "marginwith" away.
I removed all the "frameborer="0" Still no fix! the url is now http://www.tresfjording.com/ -- Vennlig hilsen Øyvind Granberg tresfjording@live.no www.tresfjording.com > > For one thing, the value of attribute ³marginwidth² for element > ³<iframe>² must be a number. > > -- > dorayme |
Re: iframe in ie & ff & Chrome & Opera
In article <4939c305@news.broadpark.no>,
Øyvind Granberg <tresfjording@live.no> wrote: > I took all the "marginwith" away. > I removed all the "frameborer="0" > > Still no fix! > > the url is now http://www.tresfjording.com/ > > -- > > Vennlig hilsen > Øyvind Granberg > > tresfjording@live.no > www.tresfjording.com > > > > > For one thing, the value of attribute ³marginwidth² for element > > ³<iframe>² must be a number. > > Best not to top post. Next thing to do is validate your frames. There are 21 errors and 21 warnings errors for the simple left frame alone! Use <http://validator.w3.org/> -- dorayme |
Re: iframe in ie & ff & Chrome & Opera
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 tresfjording@live.no www.tresfjording.com "dorayme" <doraymeRidThis@optusnet.com.au> skrev i nyhetsmeldingen: doraymeRidThis-E6715B.11341306122008...ptusnet.com.au ... > In article <4939c305@news.broadpark.no>, > Øyvind Granberg <tresfjording@live.no> wrote: > > > Use > > <http://validator.w3.org/> > > -- > dorayme |
Re: iframe in ie & ff & Chrome & Opera
it now works fine in all the four big ones...
IE - FF - Opera and Chrome -- Vennlig hilsen Øyvind Granberg tresfjording@live.no www.tresfjording.com |
| All times are GMT. The time now is 08:51 PM. |
Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.