How to float all child divs to center inside a parent div?

Posted by Pandiya Chendur on Stack Overflow See other posts from Stack Overflow or by Pandiya Chendur
Published on 2010-04-13T07:57:35Z Indexed on 2010/04/13 8:02 UTC
Read the original article Hit count: 285

Filed under:
|
|

i use a parent div with three child divs ,

<div id="parentDiv">
    <div id="PagerUp" class="pager">

     </div>
    <div id="ResultsDiv">

    </div>
    <div id="PagerDown" class="pager">

    </div>
</div>

But what i get is this http://img132.imageshack.us/img132/5923/floatingdivs.jpg

How to float all those divs to center.... Hint:I dint apply any css...

© Stack Overflow or respective owner

Related posts about div

Related posts about float