How can I make two div appear side by side? I want the first div appear on left, and second to appear right beside that.
<div class="first">first</div>
<div class="second">second</div>
What I want:
first second
What I get:
first
second
Workaround with tables:
<table>
<tr>
<td>first</td>
<td>second</td>
</tr>
</table>
How to make two divs behave like these two table cells?