Nested (i)frames in netscape

Hallo,<br />
<br />
I have used nested frames(div) inluding one iframe.<br />
<br />
Everything is OK behalve the width of the iframe looks in navigator 4px larger then in IE. Is this a bug or can i fix something?<br />
My code:<br />
<br />
<style type="text/css"><br />
<!--<br />
#left {<br />
position:absolute; <br />
left:10px; <br />
top:10px; <br />
width:230px; <br />
height:420px; <br />
z-index:2;<br />
}<br />
#leftHeader {<br />
position:absolute; <br />
left:0px; <br />
top:0px; <br />
width:230px; <br />
height:30px; <br />
z-index:2;<br />
}<br />
#leftContent {<br />
position:absolute;<br />
left:0px;<br />
top:30px;<br />
width:226px; <br />
height: 100%;<br />
z-index:2;<br />
overflow: auto;<br />
}<br />
--><br />
</style><br />
<br />
<div id="left"><br />
<div id="leftHeader"><br />
<table width="100%" border="0" cellpadding="0" cellspacing="0"><br />
<tr><br />
<td width="40" height="30"><img src=http://www.webdeveloper.com/forum/archive/index.php/"../../Images/headerLeft.gif" width="40" height="30"></td><br />
<td height="30" class="headWithBackgr">Zoek een Dealer...</td><br />
<td width="25" height="30"><img src=http://www.webdeveloper.com/forum/archive/index.php/"../../Images/headerRight.gif" width="25" height="30"></td><br />
</tr><br />
</table><br />
</div><br />
<iframe id="leftContent" name="lijst" src=http://www.webdeveloper.com/forum/archive/index.php/"dealerLijst.php"></iframe><br />
</div><!--content-->why are you using an iframe to begin with. If your server allows ssi, php, asp or other technologies why not just use an include? Browsers will render your code differently and ie and navigator have different box models. Turn off all of your borders<br />
border:0px;<br />
for the divs and the iframe, this might fix it.<!--content-->Hallo.<br />
thanks for your answer.<br />
<br />
I use iframes because i use inside a frameset three different pages and controle them inside the iframes. Check it on <!-- w --><a class="postlink" href="http://www.bertoys.nl">www.bertoys.nl</a><!-- w --> (the dealer section).<br />
<br />
I will try to play with the borders, thanks.<!--content-->Originally posted by olaf <br />
Hallo.<br />
thanks for your answer.<br />
<br />
I use iframes because i use inside a frameset three different pages and controle them inside the iframes. Check it on <!-- w --><a class="postlink" href="http://www.bertoys.nl">www.bertoys.nl</a><!-- w --> (the dealer section).<br />
<br />
I will try to play with the borders, thanks. Why doo you use nested iframes though. What is the point of doing it this way. Its terribly inaccessable.<!--content-->What should be a better way?<br />
<br />
Peo,<br />
<br />
you are right its not the best way.<br />
<br />
I constructed this framework because i thought it is faster for visitors. I will try it with includes.<!--content-->
 
Back
Top