Many people have upgraded their ie browsers to ie9 or above, so there are a lot of strange things happening at this time. For example, they are now ie9 browsers, however, the document mode of the browser is IE8:
To prevent this situation, we need the following code to make the IE document mode always up-to-date:
<! -- Avoid ie using compatibility mode -->
<MetaHTTP-equiv ="X-UA-compatible"Content ="Ie = edge">
Another method is more optimized:
<MetaHTTP-equiv ="X-UA-compatible"Content ="Ie = edge, chrome = 1">
Why is this code followed byChrome = 1, ThisGoogle Chrome frame (Google embedded browser framework GCF)If the chrome plug-in is installed on some users' computers, you can use IE in any version of the computer.WebKitEngine andV8Engine layout and computation are incredibly powerful. However, if you do not install this plug-in, this code will make ie display the results in the highest document mode. I suggest you use this code, but you can use it without it.
Note link:Http://www.w3cfuns.com/blog-5427801-5399250.html