2337 posts
  • Affiliate Level 5
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+7 more
CreativeMilk
says

I want to center de container, but in internet explorer the box will align to the left. I cant seem to find the problem or an soluion.

div#container{ width:960px; margin:0 auto!important; position:relative; }

228 posts
  • 6 Years of Membership
  • Affiliate Level 1
  • Collector Level 4
  • Exclusive Author
+2 more
stevebluck
says

Can you post a preview link?

162 posts
  • 6 Years of Membership
  • Affiliate Level 2
  • Author Level 7
  • Collector Level 1
+8 more
ponjoh
says
I want to center de container, but in internet explorer the box will align to the left. I cant seem to find the problem or an soluion. div#container{ width:960px; margin:0 auto!important; position:relative; }

As we all know, IE makes no sense whatsoever:

body { text-align: center; }

div#container { text-align: left; }

Now it should work in IE.

2337 posts
  • Affiliate Level 5
  • Author Level 6
  • Collector Level 2
  • Trendsetter
+7 more
CreativeMilk
says

None because its local, but i have found the bug, never place a comment tag before the :P

by
by
by
by
by
by