<html xmlns="http://www.w3.org/1999/xhtml"> <head> <style type="text/css"> html, body, div { margin: 0; padding: 0; background-color: white; } #the-html { padding: 50px 0; } #the-body { background-color: red; } #the-div { background-color: green; height: 100px; } </style> </head> <body> <div id="the-html"> <div id="the-body"> <div id="the-div"></div> </div> </div> </body> </html>