Certain pages display terribly in IE generally, what is the best approach to solving these issues?
Certain pages display terribly in IE generally, what is the best approach to solving
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You forgot to add a doctype, so your page is in Quirks Mode.
Add this (the HTML5 doctype) as the very first line:
and it should look better.
Although, changing the Document Mode manually (using Developer Tools; hit F12), it still doesn’t look right. There are evidently other problems with the page.
The most pertinent problem (after escaping Quirks Mode) is this:
Internet Explorer is not showing any background colour because you forgot the
#before the colour. (And you havepadding; 0, with a;instead of:)This will work:
But you shouldn’t be using inline styles in the first place..
This would be better:
with CSS in your stylesheet: