Jump to content

Margin: auto; not available in IE?


deltahawk12

Recommended Posts

It should work in IE. I have a site that uses margin: auto; optimized for both IE and FF. What you may need to do is specify the overall body:

body {margin: 0 auto;width: XXXpx;height: XXXpx;}

and then place the rest of your page inside the body using floats.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...