In a project development deployment, Discover browser incompatibility and make the user experience better without processing compatibility (ie browser)
Let's set the browser version of the client to access the project by default
The comparison is shown below for different versions of IE:
IE5, IE6:
IE7 under:
IE8 under:
IE9 under:
Version IE10 and above:
The above is the same item in different IE version of the display effect (where the animation effect only on the ie10+ can be displayed), in order to not solve the IE Sakamoto compatibility, we can deploy the project when the default client browser in a version to browse the page, if the client browser is version 10 or more, Can only be compatible with versions below 10!
Here we can add the following code to the configuration file Web. config when we deploy the project
<system.webserver> <Httpprotocol> <customheaders> <Clear/> <Addname= "X-ua-compatible"value= "ie=10" /> </customheaders> </Httpprotocol></system.webserver>
View Code
Then the client is IE10 to browse the page by default ~ ~
Set the browser version here to distinguish different effects on the same page ~ ~
Set the browser version (ie version) of the client that accesses the item by default