div margin

Glenn

Member
I've created a div over another div. The top div has a margin-bottom: 0px; The bottom div has a margin-top: 0px;

Why is there about 15 px between the?
 

chrishirst

Well-Known Member
Staff member
Put different coloured borders around each element so you can see where each one starts and ends.
 
Top