By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
460,045 Members | 1,389 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 460,045 IT Pros & Developers. It's quick & easy.

Problem with viewing page in IE?

P: 80
So, ive come a long way I my project! BUT I darn hate IE sometimes :) and this is exactly where my problem lays..

I have problems centering the content using

Expand|Select|Wrap|Line Numbers
  1. margin-left: auto;
  2. margin-right: auto
And nothing in the menu works.. All in Internet Explorer, with Chrome and FF theres nothing. Now why is this? Is it because Microsoft dosnt comply with W3 standards or is it my coding issues? If anybody have the time, please lecture me..

The site

Mar 3 '11 #1
Share this Question
Share on Google+
3 Replies

Expert 5K+
P: 7,435
I darn hate IE all the time. (no smiley face)

If anything is before the doctype, IE goes into quirks mode. Also, your XML declaration should be in front of the doctype, not after, but you can't put it there cause....IE will go into quirks mode. But you aren't serving it as XHTML anyway so it doesn't matter. just remove the declaration and that part of the problem is solved.
Mar 3 '11 #2

P: 80
Well.. This is a hassle, having to complement IE specifically when other systems are doing the job so much better and faster. Thank you very much!

Mar 3 '11 #3

Expert 5K+
P: 7,435
IE has always been that way and always will be. It's the worst browser on the planet. No one should use IE. It's a web developer's nightmare.
Mar 4 '11 #4

Post your reply

Sign in to post your reply or Sign up for a free account.