简体   繁体   中英

Internet Explorer retro-compatibility

I'm using Internet Explorer 11 and SharePoint 2010.

I created a simple HTML page whit CSS, JavaScript and jQuery. I hosted my page in a SharePoint's page. I added a simple WebPart (Page Viewer) that link to my HTML page.

If I open my page with IE11, on my local machine, is rendered correctly; it doesn't work on SharePoint'page.

I see the property "document mode" of page on my local machine is "10" while in SharePoint 2010 has "8".

What is "document mode" property? How can I resolve this problem?

在此输入图像描述在此输入图像描述

I resolved this problem adding this code on html's head element:

 <meta http-equiv="X-UA-Compatible" content="IE=Edge">

I found solutions there: Forcing Internet Explorer 9 to use standards document mode

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM