I have a div A that contains div B and div C .
<div id="A">
<div id="B">
...
</div>
<div id="C">
...
</div>
</div>
I want div B to have a margin-top separation: 2em; regarding div C.
The following code does not work for me:
#B + #C{
margin-top: 2em;
}