<!DOCTYPE html> <html> <head> <style type="text/css"> #a { background-color: green; margin-bottom: 80px; height: 20px; } #b { background-color: green; height: 20px; } </style> </head> <body> <div id="a"></div> <div id="b"></div> </body> </html>