Align divs horizontally – CSS

<div style=”float:left; width:300px;”>

<div style=”float:left; width:60px;”>Test 1</div>

<div style=”float:left; width:60px;”>Test 2</div>

<div style=”float:left; width:60px;”>Test 3</div>

<div style=”float:left; width:60px;”>Test 4</div>

<div style=”float:left; width:60px;”>Test 5</div>

</div>

Leave a Reply

Your email address will not be published. Required fields are marked *