<!DOCTYPE html>
<html>
<head>
<style type="text/css">
#a {
background-color: green;
margin-bottom: 40px;
height: 20px;
}
#b {
margin-top: 10px;
#b div {
margin-top: 20px;
</style>
</head>
<body>
<div id="a">
</div>
<div id="b">
<div></div>
</body>
</html>