<div>
    <div style="float:left">
        <h2>First Div </h2>
    </div>
    <div style="float:left">
        <h2> Second Div</h2>
    </div>
</div>

Source: Div Side by Side

Niva