I want to know if there exists an elegant way to horizontally align 3 divs
without using float
css property.
HTML:
<div id="parent">
<div id="first">Left</div>
<div id="second">Middle</div>
<div id="third">Right</div>
</div>
I ask this question because the parent div
has not float
property and adding float
to children cause problems on page resizing.