Jump to content
  • Advertisement
Sign in to follow this  

[web] IE Quirks mode

This topic is 2941 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I built most of my web game long before IE 8 was released, and I believe that there are several incompatibilities now. I used browser detection, which is considered bad practice, with javascript statements such as "if (ie)" instead of "if (document.documentElement && document.documentElement.clientWidth)", which tests capability rather than browser. Still, there are places where using an IE/Gecko feature difference is necessary, such as when supporting alpha/transparency. Does anyone know of a good site that lists the differences between IE and Gecko browsers, and spells out where you still have to use browser-specific code? I'm a LOT less interested in supporting IE 6 now than I was when I started this project, but the reference would be nice to have.

Share this post


Link to post
Share on other sites
Advertisement
IE 8 has very good standards compatibility these days (to the extent that I have not had to write a single CSS patch or tweak for it, though I still occasionally have to knock one together for IE 7 and nearly always several for IE 6).

PNG alpha/transparency was introduced in IE 7, so that should no longer an issue.

When you say "quirks mode", do you mean your website is running in quirks mode? If so, I would strongly recommend adding the requisite doctype to use standards mode (so you only have to write your site once, not once for every different browser).

Share this post


Link to post
Share on other sites
For a web game, IE6 is all but irrelevant. People who use IE6 are usually one of two camps:

- old people (let's be honest)

- office workers in companies that are afraid to upgrade their systems (because the software was pirated or because they just don't adjust to change well).

The rest of the universe has already upgraded their systems. So unless your intended audience is old people or office workers, forget about IE6.

I unfortunately have to cater to both of those groups at work. You may pity me if you wish :-(

Share this post


Link to post
Share on other sites
Quote:
Original post by leiavoiaI unfortunately have to cater to both of those groups at work. You may pity me if you wish :-(


I have the same sort of job. I'm still enhancing/maintaining VB 6 programs that I inherited almost a decade ago. I'm trying to rewrite about 1 per year in my "free" time, but there are still several left to go. The users don't seem to understand how crippled that language is... they just want new stuff added.

No pity from me!

Quote:
Original post by stormwarestudios
Careful what you're quoting; IE8 CSS v3 support stinks. Better to target CSS v2.1 feature-set if you must support IE users.

I'll refresh my knowledge of that site. I see they've added IE 8 and IE 8 as IE 7, which will help a lot.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!