I have three div as shown below. I want to keep inner div in exactly center of outer div. I found some solution with position style set, but it was creating problem with my other element in my project, so I don't want to use position in style. I want to center inner div without using position style.
<div id="container">
<div id="outer">
<div id="inner"></div>
</div>
</div>