<!DOCTYPE html> <html> <head> <style type="text/css"> html, body { margin: 0; padding: 5px; } div { height: 100px; } #positive, #negative { background-color: green; height: 20px; } </style> </head> <body> <div id="positive"></div> <div></div> <div id="negative"></div> </body> </html>