I was thinking, about how the margin influence other objects?
Because when I have e.g.
html, body{
height: 100%;
width: 100%;
}
div{
margin-top: 200px;
}
and inside I have div with margin-top
it push <body>
down, so the margin impact on <html>
not on <body>
tag, which is first container.
So the question is, how margin depend on
- parent tag
- siblings tags
- floating, absolute, relative or static elements
I have readed few css tutorials, but I couldnt find specific answer