About IE8 compatibility issues

Source: Internet
Author: User
&NBSP;IE8 Beta2 Bug is too much, the interface is more ugly and bloated than IE7. These are superficial things, but within. We always fix web for MS, not MS for Web repair ie Microsoft's dev team is not thinking too much of it. IE8 not exist to solve problems, but to produce more problems, just like the annoying vista. Microsoft is used in IE6! DOCTYPE to identify which standards to use to display the Web page, IE6 in the optional, but IE7 in this request more stringent. To the IE8, this logo is probably outdated, Microsoft has changed, launched the "IE8 standard", so many IE7 under the good page, and become a collapse confused. Microsoft claims that developers only need to add a line of code on the currently compatible IE7 site to solve the problem, as follows: <meta http-equiv= "x-ua-compatible" content= "ie=7"/> Compatible code actually has:< Meta http-equiv= "x-ua-compatible" content= "ie=5" >< meta http-equiv= "x-ua-compatible" content= "ie=7" >< Meta http-equiv= "x-ua-compatible" content= "ie=8" >< meta http-equiv= "x-ua-compatible" content= "Ie=edge" > The last line is to always display the Web page in the latest IE version mode. IE8 occupies a high memory resource, which is about one times higher than the IE7. IE8 added some security features, such as private browsing mode, which are not new. IE8 performance, not much to say, in some large and small evaluation is ranked in the bottom of the first place. This time, Firefox is turned over. Microsoft is working hard ... In fact, I think the fastest compatible with the best is opera, but it does not open source, so plug-in extensions are not rich in IE and ff. --------------------------------------------------------------------------------------since the use of IE8 the whole world has changed shape, hehe, The problem is not so serious, if your site is too late to modify to fit IE8 access, we can use a very simple method, add a few lines of code can let the access IE8 automatically call IE7 rendering mode, so as to ensure maximum compatibility, the method is as follows: Just add the following HTTP me to the pageta-tag:< meta http-equiv= "x-ua-compatible" content= "Ie=emulateie7"/>    as soon as IE8 read this tag, it will automatically start IE7 compatibility mode To ensure the full display of the page. There is another way to do this for the entire Web site, adding the following descriptors in IIS can have the same effect, of course, the scope is broader. <?xml version= "1.0" encoding= "Utf-8"?>< configuration>< system.webserver>    < httpprotocol>      <customHeaders>        <add name= " X-ua-compatible "value=" Ie=emulateie7 ">      </customHeaders>    </ httpprotocol></system.webserver></configuration> or for the full-site page:   You can modify the Web server (such as apache/iis/ Resin, etc.), add the following command to the HTTP header: X-ua-compatible:ie=emulateie7. This is my personal highly recommended practice, in case you are unable to conduct the full station test, you can use this method to make IE 8 Strict mode temporarily invalidated.

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.