<!DOCTYPE html> <html> <head> <style type="text/css"> #bar1 { background-color: green; } div { height: 20px; } #bar2 { background-color: blue; } </style> </head> <body> <div id="bar1"></div> <div></div> <div id="bar2"></div> </body> </html>