genia
04-25-2008, 03:14 PM
css:
#navimg{
display: inherit;
position:relative;
z-index:3;
width:271px;
height:264px;
margin-top: -40px;
}
#nav{
width:285px;
float:right;
border-right:10px white solid;
border-top:10px white solid;
border-bottom:10px white solid;
border-left:none;
z-index:1;
background-color:#b3cdf2;
}
html:
<div>
<div id="nav"><div id="logo">
<img src="images/taflataf_logo.jpg" alt="logo" /></div>
<hr />
<ul><li>link1</li>
<li>link2</li>
<li>link3</li>
</ul>
</div>
<div id="navimg"><img src="images/lego.gif" alt="" /></div>
</div>
<div class="clear"></div>
</div>
for some unknown reason ff 2.0.15 (the only Firefox i tested on)
misplaces the div navimg.
ie 6&7 placing everything as it should be.
can someone help me please?
#navimg{
display: inherit;
position:relative;
z-index:3;
width:271px;
height:264px;
margin-top: -40px;
}
#nav{
width:285px;
float:right;
border-right:10px white solid;
border-top:10px white solid;
border-bottom:10px white solid;
border-left:none;
z-index:1;
background-color:#b3cdf2;
}
html:
<div>
<div id="nav"><div id="logo">
<img src="images/taflataf_logo.jpg" alt="logo" /></div>
<hr />
<ul><li>link1</li>
<li>link2</li>
<li>link3</li>
</ul>
</div>
<div id="navimg"><img src="images/lego.gif" alt="" /></div>
</div>
<div class="clear"></div>
</div>
for some unknown reason ff 2.0.15 (the only Firefox i tested on)
misplaces the div navimg.
ie 6&7 placing everything as it should be.
can someone help me please?