2324 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+6 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
  • Has been part of the Envato Community for over 5 years
  • Has referred 1+ members
  • Has collected 100+ items on Envato Market
  • Sells items exclusively on Envato Market
+1 more
stevebluck says

Can you post a preview link?

162 posts
  • Has been part of the Envato Community for over 5 years
  • Has referred 10+ members
  • Has sold $75,000+ on Envato Market and is now an Elite Author
  • Has collected 1+ items on Envato Market
+6 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.

2324 posts
  • Has referred 100+ members
  • Has sold $40,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+6 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