It looks like you're new here. If you want to get involved, click one of these buttons!
I need to center a div horizontally which is inside another div. Please show me how to do it.
Assume your div setup as follows.
<div id="outerDiv" style="width:100%">
<div id="innerDiv">Some Content</div>
Add CSS as follows.
margin: 0 auto;