How to center two divs side by side into a container
Posted: 28 Jan 2015, 15:13
I have two DIVs inside a container. Like this:
I am trying to center the two divs, #dv1 and #dv2 side by side, inside the main container.
How to do that with css?
Code: Select all
<div class="container">
<div id="dv1">Div 1</div>
<div id="dv2">Div 2</div>
</div>
How to do that with css?