I have a div (parent) that contains another div (child). Parent is the first element in body with no
div
body
I find out that, inside of your .css >if you set the display property of a div element to inline-block it fixes the problem. and margin will work as is expected.