Sets the browser version (IE version) and browser version (ie version) of the client that accesses the project by default.

Source: Internet
Author: User

Sets the browser version (IE version) and browser version (ie version) of the client that accesses the project by default.

In project development and deployment, browser incompatibility is found, which makes the user experience better without compatibility (IE browser)

Let's set the client's default browser version to access the project

The following is a comparison of the effects of different IE versions:

IE5 and IE6:

In IE7:

Under IE8:

IE9:

IE10 and later versions:

The above is the display effect of the same project in different IE versions (the animation effect can only be displayed on IE10 +). In order not to solve the problem of compatibility with the IE release, when deploying a project, we can use a client browser to browse the page in a specific version by default. Only when the client browser is version 10 or later can it be compatible with versions earlier than 10!

You can add the following code to the web. config configuration file when deploying a project.

<System. webServer> View Code 

By default, the client uses IE10 to browse the page ~~

Set the browser version here to differentiate the different effects of the same page ~~

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.