1

I'd been designing my website using Firefox 3.up & IE 8 as a reference. I recently happened to see it on IE 7, it looks hideous :[. I thought strict mode was supposed to solve all compatibility issues. I would tweak it for IE 7 but its going to be a hell lot of work. What do you guys suggest? Should i tweak it for IE 7 or is there another solution to solve the compatibility problems? And how do i avoid such problems in the future? (don't say no one's going to be using IE in the future, but i hope that's true).

The Doctype definition-

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Quentin
949k137 gold badges1.3k silver badges1.4k bronze badges
asked Nov 10, 2010 at 6:33

4 Answers 4

1

I thought strict mode was supposed to solve all compatibility issues.

No, just lots of them.

Should i tweak it for IE 7 or is there another solution to solve the compatibility problems?

Yes.

And how do i avoid such problems in the future

Fix them as you go along. Don't leave IE7 testing until the end.

answered Nov 10, 2010 at 6:38
Sign up to request clarification or add additional context in comments.

Comments

1

when you develop you should use something like IETester from the start. Every time you make a handful of significant adjustments to the site, you should take a few minutes and test it in all the browsers you are supporting. IETester will let you test IE 5.5-9 in one or two clicks.

answered Nov 10, 2010 at 6:41

Comments

1

There is no magic bullet for IE compatibility. It's the bane of every web developer, and there is no answer to it. You need to be aware of which things work in IE and which don't and try to avoid using the latter, or have a backup plan ready on how to deal with the problems. With carefully crafted CSS you can usually get to 95+% cross-browser compatibility, which leaves you only with a few quirks you'll need to deal with (using IE specific workarounds, graceful degradation etc.). This does take some experience though; until then, test frequently across all browsers!

Welcome to the world of web development. :o)

answered Nov 10, 2010 at 6:41

Comments

0

For layout, CSS would normally do the trick. Use a specific CSS for IE versions that looks hideous using CSS conditional statements: e.g.

<!--[if IE 7]>
 <link rel="stylesheet" type="text/css" href="ie7.css" />
<![endif]-->

See this article for more information. Do not, I repeat, do NOT assume that browsers adhere to all html standards (esp IE). It is a good practice to always test your website using different OS, Browsers and browser versions.

answered Nov 10, 2010 at 6:42

Comments

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.