2323 posts
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
+1 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
  • Bought between 100 and 499 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 1 and 9 users
  • United Kingdom
stevebluck says

Can you post a preview link?

162 posts
  • Bought between 1 and 9 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 10 and 49 users
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 50 000 and 100 000 dollars
+1 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.

2323 posts
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
+1 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