Please can you explain to me why body
is affected by the margin of its children ? I don't like this behaviour. In my opinion, the margin of a child div
should be computed from the boundaries of its parent to its boundaries.
For example : https://jsfiddle.net/2yejm7L5/
You can see that the div
in blue affect the margin of body
in green, then you see the html
background in red and I don't want that.
In my case, I don't want to edit body
CSS properties