Ian Young wrote:
> ... I have an odd
> issue in FireFox where, despite having margin:0 in both divs concerned, the
> inner div does not butt up against the outer.
> 
> Probably best to look at
> http://www.iyesolutions.co.uk/templates/trossachs/index-2.html to see what I
> mean.
> 
> I have left the colour in the left column for clarity


<div id="left">
   <div class="tour">
     <p>Take a 360° Tour</p>
   </div>
</div>

8.3.1 Collapsing margins.
http://www.w3.org/TR/CSS21/box.html#x22

P has a default margin-top in Fx. This margin collapses with the margin 
of div.tour, and in effect, the margin-top establishes space above div.tour.

It would like to collapse with div#left, but this is a float, and 
margins do not collapse with floats.

Ingo

-- 
http://www.satzansatz.de/css.html
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to