Hello everyone,
In fact I have a little problem in image html, I created two div, one is
inside the other.
When I put the border to 1px, I can see both, but when I
removes
the border or I put it to 0px, the top margin he walks over.
Here is the link to my online page: http://www.mestestes.eu/
Thank you for your advice
I see that you have set top margin for both div’s? This is what they call collapsing margins. When the vertical margins of two elements are touching, only the margin of the element with the largest margin value is counted. Adding a border or using a 1 px padding on the parent solves this issue.
For you the solution will be to change the height for the parent to 199px and add a 1px padding at the top