...

View Full Version : div stacking



rayray1
04-10-2008, 09:49 PM
how do i get two floating divs to not stack when the window is minimized. i've tried clear: both, min-width on parent and children, etc. please advise:

.bnr
{
height: 75px;
min-width: 741px;
position:relative;
width: 100%;

}

.bnrLft
{
background-image: url("../images/bnrLft.gif");
float: left;
height: 75px;
width: 590px;
}

.bnrRgt
{
float: right;
position:relative;

}




<div class="bnr">
<div class="bnrLft">
&nbsp;</div>
<div class="bnrRgt">
<a href="http://www.michigan.gov" target="blank">
<img alt="image" src="images/bnrRgt.gif" /></a></div>
</div>

Apostropartheid
04-10-2008, 09:51 PM
We're phychic and magically know which order these appear in in your source code (:.
As useful an ability that would be, the relevant snippet of code or, even better, a live link would be very useful, as we'd have to guess otherwise and we're not good at that!

jcdevelopment
04-10-2008, 09:51 PM
take out the position relative!!



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum