Possible Duplicate:
For what reason margin collapse rules were introduced in CSS?
What is the means of "margin collapse"?
Possible Duplicate:
For what reason margin collapse rules were introduced in CSS?
What is the means of "margin collapse"?
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:
_____
| A | Element A has 20-px bottom margin
|___|
<-- space between elements is 20, not 40
_____
| B | Element B has 20-px top margin
|___|
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.