css display items inline in a div code example
Example 1: css make div inline
<div style="display: inline">a</div>
<div style="display: inline">b</div>
<div style="display: inline">c</div>
Example 2: make div tag inline
<div class="inline">1<br />2<br />3</div>
<div class="inline">1<br />2<br />3</div>
<div class="inline">1<br />2<br />3</div>
<br class="clearBoth" /><!-- you may or may not need this -->