Processing compatible ie8

1.ie8 into edge mode rendering

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

2.X-UA-Compatible IE8 is directed to a newly added set, other than for IE8 browser is not recognized, the difference between content = "IE = 7" regardless of whether the page containing the <! DOCTYPE> instruction, the like using Windows Internet Explorer 7 standards mode. And content = "IE = EmulateIE7" pattern follows <! DOCTYPE> directive. For most sites, it is the preferred compatibility mode.
In order to avoid making the mistakes of the page in IE8 below, it is recommended to use IE7 IE8 will directly render. That is, add the following code directly in the meta tags in the header of the page:

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

So that we can make a page in IE8 which was normal!

Published 10 original articles · won praise 1 · views 578

Guess you like

Origin blog.csdn.net/Clearlove_8/article/details/104219733