IE compatibility problem simple solution

Source: Internet
Author: User

In the development of the Web site inevitably because of a variety of compatibility problems, for compatibility issues, in fact, IE gave a solution Google also gave a solution Baidu also applied this solution to solve the compatibility of IE Baidu Source code as follows; <title>Baidu a bit, you will know</title> var wpo={start:new date*1,pid:109,page: ' Superpage '} Can open Baidu, right-click to see the source! We can look at the file header if there is such a line of code! The meaning of this sentence is to force the use of IE7 mode to parse the page code! Here to send a few IE usage mode! 2. Google Chrome frame also allows IE to use Chrome's engine: 3. Force IE8 to use IE7 mode to parse Or 4. Force IE8 to use IE6 or IE5 mode to parse 5. If a specific version of IE support requires more than one compatibility mode, such as: Two. Setting up a Web server to specify a preset compatibility mode if the server is itself, you can define a custom header on the server to preset a specific file compatibility mode for their site. This particular method depends on your Web server. Input, the following Web. config file enables Microsoft Internet information Services (IIS) to define a custom header to automatically compile all pages using IE7 mode. There are also other solutions, such as Google's Ie7–js is a javascri**** library (to solve the Internet Explorer conflict with the standard JS Library), so that Microsoft's Web browser behavior as a standard compatible with the Internet Explorer, Support for more CSS2, CSS3 selectors. It fixes a number of HTML and CSS issues and makes transparent PNG appear correctly in IE5, IE6. Make IE5,IE6 compatible to IE7 mode (recommended) Make IE5,IE6,IE7 compatible to IE8 mode Make IE5,IE6,IE7,IE8 compatible to IE9 mode Resolving the PNG display problem simply name the transparent PNG image *-trans.png Note that this method has no effect on the background tiling (background-repeat) and background (background-position) and fills the entire container by default. Three Create HTML5 when I found such a word, do not know what the meaning of Baidu as follows: This write can achieve the effect is to use GCF to render the page if the GCF is installed, if the GCF is not installed, then use the highest version of the IE kernel for rendering. Google Chrome frame (google embedded browser framework GCF). This plugin can keep the user's IE browser intact, but when users are browsing the web, they are actually using the Google Chrome kernel, and support IE6, 7, 8 and many other versions of IE browser.

IE compatibility problem simple solution

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.