[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[备忘]360浏览器,通过meta控制渲染引擎。

上一篇:[转帖]IE7时,float:right 时元素换行的bug解决办法
下一篇:[备忘]java开源,Ansj中文分词

添加日期:2015/6/12 11:09:38 快速返回   返回列表 阅读3584次
http://se.360.cn/v6/help/meta.html

在head标签中添加一行代码:


<html>
  <head>
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
  </head>
  <body>
  </body>
</html>


content的取值为webkit,ie-comp,ie-stand之一,区分大小写,分别代表用webkit内核,IE兼容内核,IE标准内核。 

若页面需默认用极速核,增加标签:<meta name="renderer" content="webkit"> 
若页面需默认用ie兼容内核,增加标签:<meta name="renderer" content="ie-comp"> 
若页面需默认用ie标准内核,增加标签:<meta name="renderer" content="ie-stand">

各渲染内核的技术细节
--------------------------------------
内核    Webkit    IE兼容    IE标准
--------------------------------------
文档模式    Chrome 21    IE6/7    IE9/IE10/IE11(取决于用户的IE)
--------------------------------------
HTML5支持    YES    NO    YES
--------------------------------------
ActiveX控件支持    NO    YES    YES
--------------------------------------
 

评论 COMMENTS
没有评论 No Comments.

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved