Set browse mode for dual-core browsers <meta name= "renderer" content= "Webkit|ie-comp|ie-stand" >

Source: Internet
Author: User



Reference URL:



http://blog.csdn.net/tototuzuoquan/article/details/18400789



Http://camnpr.com/html-css/2087.html



http://www.15yan.com/story/1H1vIDRzhWc/



http://blog.csdn.net/www3300300/article/details/12992489






Browser kernel control META tag description



<meta name= "renderer" content= "Webkit|ie-comp|ie-stand" >



Content value is one of webkit,ie-comp,ie-stand, case-sensitive, respectively, represented by the WebKit kernel, IE compatible kernel, IE standard kernel.



If the page needs to be the default speed core, add tag: <meta name= "renderer" content= "WebKit" >



If the page needs to default IE compatible kernel, add tag: <meta name= "renderer" content= "Ie-comp" >



If the page needs to default with IE standard kernel, add tag: <meta name= "renderer" content= "Ie-stand" >



--------------------------------------------------------------------------------------------------------------- --------------------------------------



X-ua-compatible is a new setting for IE8, which is not recognized for browsers other than IE8.



1. <meta http-equiv= "x-ua-compatible" content= "ie=5"/>



It's like using the Quirks mode of Windows Internet Explorer 7, which is similar to how Windows Internet Explorer 5 displays content.



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



Whether the page contains <! or not The doctype> directive uses the standard rendering mode of Windows Internet Explorer 7.



3. <meta http-equiv= "x-ua-compatible" content= "ie=8"/>



The standard rendering mode for IE8 is turned on, but since the x-ua-compatible file header supports only IE8 or more, it is equivalent to redundant code.



4. <meta http-equiv= "x-ua-compatible" content= "Edge"/>



Edge mode notifies Windows Internet Explorer to display content in the highest-level available mode, which in effect destroys lock mode. That is, if you have IE9 words that indicate that you have IE789, then call the higher version that is IE9.






5. <meta http-equiv= "x-ua-compatible" content= "ie=edge,chrome=1" >



If IE has Google Chrome Frame installed, then go to the installed components, if not, and <meta http-equiv= "x-ua-compatible" content= "Edge"/>.



Description: Google Chrome Frame, a browser plugin for IE 6,7,8, allows the user's browser to look the same as IE's menu and interface, but when users browse the Web, they are actually using the Google Chrome kernel.






6. <meta http-equiv= "x-ua-compatible" content= "Ie=emulateie7"/>



EmulateIE7 mode notifies Windows Internet Explorer to use <! The doctype> directive determines how the content is rendered. Standard mode directives are displayed in Windows Internet Explorer 7 Standard mode, while Quirks mode directives are displayed in IE5 mode. Unlike IE7 mode, EmulateIE7 mode follows <! doctype> instructions. For most Web sites, it is the preferred compatibility mode.






Set browse mode for dual-core browsers <meta name= "renderer" content= "Webkit|ie-comp|ie-stand" >


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.