I’ve run into this in the past, but I’ve usually been able to design around the issue — usually by setting the top-margin on the first P or H1 tag to zero manually (Didn’t work this time ).
Why am I getting a ‘false’ margin when I set my padding/margin to 0PX? If I give the wrap div even one PX padding, it auto-magically corrects the issue and everything looks nice, if I don’t I get a white space at the top which simply doesn’t make any sense. Why does changing the padding effect the margin of the contained div?
What is going on?
This is called Margin Collapse. There are many tutorials to be found once you know this name 😉