In this method you have to take margin:auto and define all side 0 (if you want excellently in center). But it will support IE7 and above. and second is to use css transform, for this method you have left and top position 50% and translate value should be -50% in X and Y axis. For full information, Visit full Blog.
http://findnerd.com/list/view/How-to-centralize-div-horizontally-and-vertically-/3870/
Comments
Thank you! We've shared this tutorial with our friends! Thanks again! - Denver with http://www.cardetaildenver.com