I try to add margin values on a div inside another div. All works fine except the top value, it seems to be ignored. But why?
What I expected: <
Not sure why what you have doesn't work, but you can add
overflow: auto;
to the outer div.