<!DOCTYPE html>
<html>
<head>
<style type="text/css">
.separator {
 height: 20px;
 margin-bottom: 30px;
 background-color: green;
}
#caption {
 width: 100px;
 height: 20px;
 margin-bottom: 30px;
 background-color: blue;
}
</style>
</head>
<body>
<div class="separator"></div>
<div>
 <div id="caption"></div>
</div>
<div class="separator"></div>
</body>
</html>