﻿<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>BlogJava-一杯清茶-随笔分类-前端开发</title><link>http://www.blogjava.net/huyi0616/category/55015.html</link><description /><language>zh-cn</language><lastBuildDate>Thu, 07 Apr 2016 02:34:20 GMT</lastBuildDate><pubDate>Thu, 07 Apr 2016 02:34:20 GMT</pubDate><ttl>60</ttl><item><title>使IE浏览器默认使用最新的版本显示页面，去掉兼容模式</title><link>http://www.blogjava.net/huyi0616/archive/2016/04/07/430004.html</link><dc:creator>一杯清茶</dc:creator><author>一杯清茶</author><pubDate>Thu, 07 Apr 2016 02:16:00 GMT</pubDate><guid>http://www.blogjava.net/huyi0616/archive/2016/04/07/430004.html</guid><wfw:comment>http://www.blogjava.net/huyi0616/comments/430004.html</wfw:comment><comments>http://www.blogjava.net/huyi0616/archive/2016/04/07/430004.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.blogjava.net/huyi0616/comments/commentRss/430004.html</wfw:commentRss><trackback:ping>http://www.blogjava.net/huyi0616/services/trackbacks/430004.html</trackback:ping><description><![CDATA[<span style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;">昨天看淘宝页面源代码&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=7, IE=9&#8243;&gt;加了个。&nbsp;</span><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><span style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;">不过现在已经改成了&nbsp;</span><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><span style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;">&lt;meta http-equiv="X-UA-Compatible" content="IE=edge" &gt;&nbsp;</span><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><span style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;">不知用意，请教高人好多都不清楚。&nbsp;</span><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><span style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;">查阅资料发现，那个是英文的，基础差。&nbsp;</span><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><br style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;" /><span style="font-family: tahoma, arial, 宋体; line-height: 25.2000007629395px; background-color: #ffffff;">大致翻译是如果你有一个使用X-UA-Compatible Meta 标签或者http header 让网页在IE7标准模式解释的旧网站，那么这里有一个综合示例能够让ie8用ie7的标准模式呈现页面，ie9使用ie9的标准模式呈现页面。用自己的话就是使用上面&lt;meta http-equiv=&#8221;X-UA-Compatible&#8221; content=&#8221;IE=7, IE=9&#8243;&gt;，使IE7 IE8浏览器使用IE7模式渲染。IE9就用自己的IE9模式渲染。互不影响</span><img src ="http://www.blogjava.net/huyi0616/aggbug/430004.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.blogjava.net/huyi0616/" target="_blank">一杯清茶</a> 2016-04-07 10:16 <a href="http://www.blogjava.net/huyi0616/archive/2016/04/07/430004.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item></channel></rss>