<!DOCTYPE html> <html> <head> <style type="text/css"> #separator-top { height: 20px; margin-bottom: 20px; background-color: green; } fieldset { height: 20px; margin: 20px 0; padding: 0; border: none; background-color: green; } #separator-bottom { height: 20px; margin-top: 20px; background-color: green; } </style> </head> <body> <div id="separator-top"></div> <fieldset></fieldset> <div id="separator-bottom"></div> </body> </html>