tags:

views:

26

answers:

1
  1. Do vertical margins between a floated box and any other box collapse?
  2. Do margins of absolutely and relative boxes collapse?
+2  A: 
  1. Float margins don't collapse. According to the spec:

    Vertical margins between a floated box and any other box do not collapse (not even between a float and its in-flow children).

  2. Absolute positioned margins don't collapse. According to the same spec:

    Margins of absolutely positioned boxes do not collapse (not even with their in-flow children).

thomasrutter