开发者

Should I care about IE Quirks mode?

I have just tested my website in IE quirk mode and it look awful.

Should I care abo开发者_C百科ut the IE quirk mode? And if yes is there a tool that could help my write CSS for the Quirks mode.

Update my doctype:

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da">


Should I care about the IE quirk mode?

Only insofar as you should use a Doctype that triggers Standards mode so you don't have a deal with Quirks mode.


Depends.

If you do not need to support older versions of IE, specifically 6 and maybe 7, I would ignore it.

The only reasons to support those browsers are

  1. because the boss/client says so.
  2. you have a large user base utilizing said browser.

EDIT

From the comment on @Quentin's answer... you can check how your browser is displaying by copying this into your address bar

javascript:m=(document.compatMode=='CSS1Compat')?'Standards':'Quirks';window.alert('You are in ' + m + ' mode.');

script from http://www.satzansatz.de/cssd/quirksmode.html

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜