Mam pytanie, czy jest to normalne zachowanie, że element parent (#a) dziedziczy od children (#

#a {
background-color: #900;
height: 900px;
width: 100%;
}
#b {
height: 400px;
width: 70%;
margin-right: auto;
margin-left: auto;
background-color: #969;
margin-top: 120px;
}
</style>
</head>
<body>
<div id="a">
<div id="b">Content for id "d" Goes Here</div>
</div>
Teraz, zamiast marginesu dla #b, #a ma margines.
Nie mogę znaleźć info na ten temat, proszę o podpowiedź.
Dzięki.