<html> <body> <style type="text/css"> div { display: inline-block; padding: 0; margin: 0; height: 2em; width: 24%; } .one { background-color: red; min-width: 20em; } .two { background-color: blue; } .three { background-color: green; } .four { background-color: purple; } </style> <div class="one"> </div><div class="two"> </div><div class="three"> </div><div class="four">Hi!</div> </body> </html>