Margin: 0 auto – not working on IE

Web Development & web Design - Productfitter

If you have problem with style margin: o auto, which is not working in Internet explorer.

Check if you have in your header:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">	
<meta http-equiv="content-type" content="text/html; charset=utf-8" />

If this is not solving your problem you should try to:

 <!-- comment -->

if you have them on the first line.
Set Strict XHTML/1.0

Thanks to

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>