<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>chisdy.A.Pro &#187; IE</title>
	<atom:link href="http://chisdy.com/tag/ie/feed/" rel="self" type="application/rss+xml" />
	<link>http://chisdy.com</link>
	<description>chisdy.A.Pro</description>
	<lastBuildDate>Mon, 03 May 2010 04:20:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://chisdy.com/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>IE浏览器各版本的CSS条件判断</title>
		<link>http://chisdy.com/css-if-for-ie/</link>
		<comments>http://chisdy.com/css-if-for-ie/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 16:00:38 +0000</pubDate>
		<dc:creator>chisdy</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[IE]]></category>

		<guid isPermaLink="false">http://chisdy.com/?p=8</guid>
		<description><![CDATA[IE8出到现在还没敢装，前些天下载了个Xenocode Browser Sandbox安装了下，发现之前一直用的一个纯CSS横向导航的水平居中出了问题，在IE8下完全居左了。找了很久没发现问题所在，索性每份CSS分开屏蔽，最终确定是针对IE的CSS问题，得避掉IE8只对IE7及以下版本设置。 之前只是针对所有的IE浏览器： &#60;!--[if IE]&#62; &#60;link href="Style/IE.css" rel="stylesheet" type="text/css" /&#62; &#60;![endif]--&#62; 要避掉IE8的话就得： &#60;!--[if lt IE 8]&#62; &#60;link href="Style/IE.css" rel="stylesheet" type="text/css" /&#62; &#60;![endif]--&#62; lt在此作小于用，也就是小于IE8的版本都能识别。 或者： &#60;!--[if lte IE 7]&#62; &#60;link href="Style/IE.css" rel="stylesheet" type="text/css" /&#62; &#60;![endif]--&#62; lte在此作小于及等于用，也就是小于及等于IE7的版本能识别。 或者： &#60;!--[if !(IE 8)]&#62; &#60;link href="Style/IE.css" rel="stylesheet" type="text/css" /&#62; &#60;![endif]--&#62; &#60;!&#8211;[if !(IE 8)]&#62;&#60;![endif]&#8211;&#62;在此单独避掉IE8版本。 在网上找了以下代码，测试了下有几个不符合： 1. &#60;!--[if !IE]&#62;&#60;!--&#62; 除IE外都可识别 &#60;!--&#60;![endif]--&#62; [...]]]></description>
			<content:encoded><![CDATA[<p>IE8出到现在还没敢装，前些天下载了个<a href="http://www.xenocode.com/browsers/" target="_blank">Xenocode Browser Sandbox</a>安装了下，发现之前一直用的一个纯CSS横向导航的水平居中出了问题，在IE8下完全居左了。找了很久没发现问题所在，索性每份CSS分开屏蔽，最终确定是针对IE的CSS问题，得避掉IE8只对IE7及以下版本设置。</p>
<p><strong>之前只是针对所有的IE浏览器：</strong></p>
<pre>&lt;!--[if IE]&gt;
  &lt;link href="Style/IE.css" rel="stylesheet" type="text/css" /&gt;
&lt;![endif]--&gt;</pre>
<p><strong>要避掉IE8的话就得：</strong></p>
<pre>&lt;!--[if lt IE 8]&gt;
  &lt;link href="Style/IE.css" rel="stylesheet" type="text/css" /&gt;
&lt;![endif]--&gt;</pre>
<p>lt在此作小于用，也就是小于IE8的版本都能识别。</p>
<p><strong>或者：</strong></p>
<pre>&lt;!--[if lte IE 7]&gt;
  &lt;link href="Style/IE.css" rel="stylesheet" type="text/css" /&gt;
&lt;![endif]--&gt;</pre>
<p>lte在此作小于及等于用，也就是小于及等于IE7的版本能识别。</p>
<p><strong>或者：</strong></p>
<pre>&lt;!--[if !(IE 8)]&gt;
  &lt;link href="Style/IE.css" rel="stylesheet" type="text/css" /&gt;
&lt;![endif]--&gt;</pre>
<p>&lt;!&#8211;[if !(IE 8)]&gt;&lt;![endif]&#8211;&gt;在此单独避掉IE8版本。<br />
<span id="more-75"></span><br />
<strong>在网上找了以下代码，测试了下有几个不符合：</strong></p>
<pre>1. &lt;!--[if !IE]&gt;&lt;!--&gt; 除IE外都可识别 &lt;!--&lt;![endif]--&gt;
2.  &lt;!--[if IE]&gt; 所有的IE可识别 &lt;![endif]--&gt;
3. &lt;!--[if IE 5.0]&gt;  只有IE5.0可以识别 &lt;![endif]--&gt;
4. &lt;!--[if IE 5]&gt; 仅IE5.0与IE5.5可以识别  &lt;![endif]--&gt;
5. &lt;!--[if gt IE 5.0]&gt; IE5.0以及IE5.0以上版本都可以识别  &lt;![endif]--&gt;
6. &lt;!--[if IE 6]&gt; 仅IE6可识别 &lt;![endif]--&gt;
7. &lt;!--[if lt IE 6]&gt; IE6以及IE6以下版本可识别 &lt;![endif]--&gt;
8.  &lt;!--[if gte IE 6]&gt; IE6以及IE6以上版本可识别 &lt;![endif]--&gt;
9. &lt;!--[if  IE 7]&gt; 仅IE7可识别 &lt;![endif]--&gt;
10. &lt;!--[if lt IE 7]&gt;  IE7以及IE7以下版本可识别 &lt;![endif]--&gt;
11. &lt;!--[if gte IE 7]&gt;  IE7以及IE7以上版本可识别 &lt;![endif]--&gt;</pre>
<p><strong>经过测试后：</strong></p>
<pre>5. &lt;!--[if gt IE 5.0]&gt; IE5.0以及IE5.0以上版本都可以识别 &lt;![endif]--&gt;</pre>
<p>这个只有IE6以上的版本才可识别，也就是不包括IE5.0</p>
<pre>7. &lt;!--[if lt IE 6]&gt; IE6以及IE6以下版本可识别 &lt;![endif]--&gt;</pre>
<p>这个只有IE5以下的版本才能识别，也就是不包括IE6</p>
<pre>10. &lt;!--[if lt IE 7]&gt; IE7以及IE7以下版本可识别 &lt;![endif]--&gt;</pre>
<p>这个只有IE6以下的版本才能识别，也就是不包括IE7</p>
<p><strong>后来才在经典那找到：</strong></p>
<pre>gt = Great Then 大于 &amp;gt; = &gt; 大于号
lt = Less Then  小于 &amp;lt; = &lt; 小于号
gte = Great Then or Equal 大于或等于
lte = Less Then  or Equal 小于或等于</pre>
<p>一下就明白过来了，还费了那么大劲。</p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://chisdy.com/multiple-ie/" title="IE多版本共存–Multiple IE">IE多版本共存–Multiple IE</a></li><li><a href="http://chisdy.com/css3-development-tools-to-collect/" title="CSS3开发工具收集">CSS3开发工具收集</a></li><li><a href="http://chisdy.com/need-to-review-the-position-of-the-css/" title="原来学东西真的需要复习之css的position">原来学东西真的需要复习之css的position</a></li><li><a href="http://chisdy.com/css-form-design-review/" title="重温css表单设计">重温css表单设计</a></li><li><a href="http://chisdy.com/three-sites-to-share/" title="分享3个站点">分享3个站点</a></li><li><a href="http://chisdy.com/5-tips-to-writing-better-css/" title="5种方法立刻写出更好的CSS代码">5种方法立刻写出更好的CSS代码</a></li><li><a href="http://chisdy.com/jquery-nav-menu/" title="基于jquery的一个横向导航菜单">基于jquery的一个横向导航菜单</a></li><li><a href="http://chisdy.com/css-compatible-program-some-simple-techniques/" title="CSS兼容方案的一些简便技巧">CSS兼容方案的一些简便技巧</a></li><li><a href="http://chisdy.com/asp-net-2-the-use-of-the-theme/" title="ASP.NET2.0使用主题">ASP.NET2.0使用主题</a></li><li><a href="http://chisdy.com/css-dropdown-menu-by-cssplay-co-uk/" title="CSS跨浏览器滑动菜单">CSS跨浏览器滑动菜单</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://chisdy.com/css-if-for-ie/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>IE多版本共存–Multiple IE</title>
		<link>http://chisdy.com/multiple-ie/</link>
		<comments>http://chisdy.com/multiple-ie/#comments</comments>
		<pubDate>Sun, 25 Nov 2007 18:49:51 +0000</pubDate>
		<dc:creator>chisdy</dc:creator>
				<category><![CDATA[css]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[Multiple]]></category>

		<guid isPermaLink="false">http://chisdy.com/css/58.html</guid>
		<description><![CDATA[要考虑网页在不同浏览器下的显示，得一个个去测试，感觉挺麻烦的。但把问题解决了，似乎挺爽的，特别是使用性高却令人头痛的IE浏览器。IE7出来后，一直在使用，但对比IE6来说，改进挺多的，变成在IE6和之前的IE版本的浏览器的测试上更麻烦，老是要换机子测试。在家里弄好，还得等第二天上班时在公司电脑上测试IE6下的显示。今天偶尔发现了个好东西——Multiple IE。 Multiple IE可以在现有的系统上同时运行 IE 3 &#8211; IE7，安装了测试了下，只有IE5.5和IE6比较正常，IE3-IE5都不行，但已经够用了，呵呵！ 有兴趣的可以去看下！ 官方网站地址：http://tredosoft.com/Multiple_IE Related PostsCSS跨浏览器滑动菜单CSS之兼容浏览器篇IE与Firefox的CSS兼容–注意事项IE与Firefox的CSS兼容–常见兼容问题IE浏览器各版本的CSS条件判断CSS3开发工具收集原来学东西真的需要复习之css的position重温css表单设计分享3个站点5种方法立刻写出更好的CSS代码]]></description>
			<content:encoded><![CDATA[<p>要考虑网页在不同浏览器下的显示，得一个个去测试，感觉挺麻烦的。但把问题解决了，似乎挺爽的，特别是使用性高却令人头痛的IE浏览器。IE7出来后，一直在使用，但对比IE6来说，改进挺多的，变成在IE6和之前的IE版本的浏览器的测试上更麻烦，老是要换机子测试。在家里弄好，还得等第二天上班时在公司电脑上测试IE6下的显示。今天偶尔发现了个好东西——<a href="http://tredosoft.com/Multiple_IE">Multiple IE</a>。</p>
<p><a href="http://tredosoft.com/Multiple_IE">Multiple IE</a>可以在现有的系统上同时运行 IE 3 &#8211; IE7，安装了测试了下，只有IE5.5和IE6比较正常，IE3-IE5都不行，但已经够用了，呵呵！</p>
<p>有兴趣的可以去看下！<br />
官方网站地址：<a href="http://tredosoft.com/Multiple_IE">http://tredosoft.com/Multiple_IE</a></p>
<h3  class="related_post_title">Related Posts</h3><ul class="related_post"><li><a href="http://chisdy.com/css-dropdown-menu-by-cssplay-co-uk/" title="CSS跨浏览器滑动菜单">CSS跨浏览器滑动菜单</a></li><li><a href="http://chisdy.com/css-browser-compatibility-of-articles/" title="CSS之兼容浏览器篇">CSS之兼容浏览器篇</a></li><li><a href="http://chisdy.com/ie-and-firefox-compatible-with-the-css-notes/" title="IE与Firefox的CSS兼容–注意事项">IE与Firefox的CSS兼容–注意事项</a></li><li><a href="http://chisdy.com/ie-and-firefox-compatible-with-the-css-common-compatibility-issues/" title="IE与Firefox的CSS兼容–常见兼容问题">IE与Firefox的CSS兼容–常见兼容问题</a></li><li><a href="http://chisdy.com/css-if-for-ie/" title="IE浏览器各版本的CSS条件判断">IE浏览器各版本的CSS条件判断</a></li><li><a href="http://chisdy.com/css3-development-tools-to-collect/" title="CSS3开发工具收集">CSS3开发工具收集</a></li><li><a href="http://chisdy.com/need-to-review-the-position-of-the-css/" title="原来学东西真的需要复习之css的position">原来学东西真的需要复习之css的position</a></li><li><a href="http://chisdy.com/css-form-design-review/" title="重温css表单设计">重温css表单设计</a></li><li><a href="http://chisdy.com/three-sites-to-share/" title="分享3个站点">分享3个站点</a></li><li><a href="http://chisdy.com/5-tips-to-writing-better-css/" title="5种方法立刻写出更好的CSS代码">5种方法立刻写出更好的CSS代码</a></li></ul>]]></content:encoded>
			<wfw:commentRss>http://chisdy.com/multiple-ie/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
