<html> <head> <title>Div example</title> </head> <body> <style type="text/css"> .clear { clear: left; } .container { width: 250px; border: 1px solid; } .left1 { float: left; width: 100px; padding: 10px; border: 1px solid; text-align: center; margin-top: 0px; margin-left: 0px; } .left2 { float: left; width: 100px; padding: 10px; border: 1px solid; text-align: left; margin-top: 0px; margin-left: 0px; } </style> <div class="container"> <div class="clear"></div> <div class="left1"> 1 </div> <div class="left2"> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. </div> <div class="clear"></div> </div> </body> </html>