- Do vertical margins between a floated box and any other box collapse?
- Do margins of absolutely and relative boxes collapse?
views:
26answers:
1
+2
A:
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).
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
2010-07-29 06:01:42