I am using a <div> container and set that container to 100%. Inside that container i have mentioned several <div> with 50% and it align to left side. 
Now my question is, whether can i center align the main  container to align center. So that my inner  container align to center. Please help me.
My html code is,
<div class="container">
     <div class="co1">
           <p>content</p>
     </div>
     <div class="co2">
           <p>content</p>
     </div>
</div>
My css code is,
.container{
width:100%;
}
.co1{
width:50%;
}
.co2{
width:50%;
}
 
     
     
     
    