Possible Duplicate:
For what reason margin collapse rules were introduced in CSS?
What is the means of “margin collapse”?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It’s not a problem, it’s a design decision. It means: when adjacent elements have margins that “touch”, the two margins are collapsed into the same space. So for example:
The margins are “collapsed” together. The CSS specification requires browsers to behave this way by design. It is actually a Good Thing and helpful, once you understand when and how it is happening.