Internet Explorer cares about your document type definition (DTD) settings. If you don't indicate in your document that you're using HTML 4.01 or XHTML 1.0, Internetr Explorer will not honor things such as margin: auto. If the DTD is left out, IE assumes you are using an old version of HTML, that doesn't support features like that.