Make CSS compatible with IE8 Tips _ Experience Exchange

Source: Internet
Author: User
This has a new problem, the current work in the IE7 of the Web page in the IE8 will have problems.
Microsoft offers three modes of parsing pages in IE8
IE8 Standard Modes: The default of the most standard mode, strictly in accordance with the relevant rules of the Consortium
IE7 Standards MODES:IE7 is now used to parse the Web page of the model, open the organization is in the join
Quirks MODES:IE5 used to parse the model of the Web page, the open authority is to delete the HTML top of the DOCTYPE declaration
Note: Pages in different modes can frame each other in the IE8, so there are many problems caused by the difference between DOM and CSS rendering in no mode, so it is important to note

If your page is IE7 compatible, and you don't want to make a lot of changes to existing code, and you can use it in IE8, Microsoft claims that developers just need to add a line of code to the currently compatible IE7 Web site to solve the problem, as follows:
Copy Code code as follows:

<meta http-equiv= "x-ua-compatible" content= "ie=7"/>

Related Article

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.