<!DOCTYPE html> <html> <head> <style type="text/css"> .separator { height: 20px; background-color: green; } #fieldset { padding: 20px 0; background-color: lightgreen; } #child { height: 40px; background-color: green; } </style> </head> <body> <div class="separator"></div> <div id="fieldset"> <div id="child"></div> </div> <div class="separator"></div> </body> </html>