Use vertical columns instead of horizontal rows.
Example:
<style type="text/css"> .column { float: left; width: 25%; } </style> <div id="container"> <div class="column column1"> blocks here... </div> <div class="column column2"> blocks here... </div> <div class="column column3"> blocks here... </div> <div class="column column4"> blocks here... </div> </div>
http://jsfiddle.net/j3Z3J/1/
source share