How do I get IE9 to use standards compliant mode when developing on localhost?

前端 未结 4 742
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-03 23:01

According to MSDN, all I need to force standards compliant mode is to include the HTML 5 doctype:

http://msdn.microsoft.com/en-us/library/gg699338%28v=vs.85%29.aspx<

4条回答
  •  生来不讨喜
    2021-01-03 23:18

    See the "IE Windows special: the xml prolog" section in this document:

    http://www.quirksmode.org/css/quirksmode.html

    Anything before the DOCTYPE will cause it to switch to Quirks mode

提交回复
热议问题