While I am creating a website I have given margin:0 auto for main div. It aligned properly but while I am zooming out the window in IE it is going to left alignment.
<style>
body { margin:0; padding:0 }
#container { margin:0; padding:0 }
#container p { margin:0; padding:0 }
</style>
<html>
<body>
<div id="container"> <p>Chriz</p> </div>
</body>
</html>