Force document mode=IE8 Standards

后端 未结 1 1684
再見小時候
再見小時候 2020-12-17 22:11

So I am having problems getting IE8 to not default to IE7 document mode, as our intranet is set up.

I am using IE dev tools to set plus a little bit of js to check w

相关标签:
1条回答
  • 2020-12-17 22:22

    One might think is would be a prerequisite, and I would agree.

    But whilst working locally I hadn't declared a doctype:

    Make sure you declare one:

     <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
          <meta http-equiv="x-ua-compatible" content="IE=8" >
    

    Jobs a good'n

    0 讨论(0)
提交回复
热议问题