<?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>南芝 - 我才12岁（飞鸟尽，良弓藏，2011，背包去旅行！） &#187; ie8</title>
	<atom:link href="http://www.12sui.cn/tag/ie8/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.12sui.cn</link>
	<description>南芝的前端技术学习经验</description>
	<lastBuildDate>Sun, 08 Jan 2012 09:22:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2</generator>
		<item>
		<title>ie hack</title>
		<link>http://www.12sui.cn/develop/ie-hack/</link>
		<comments>http://www.12sui.cn/develop/ie-hack/#comments</comments>
		<pubDate>Thu, 25 Jun 2009 13:31:58 +0000</pubDate>
		<dc:creator>南芝</dc:creator>
				<category><![CDATA[编码]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[ie8]]></category>

		<guid isPermaLink="false">http://www.12sui.cn/?p=360</guid>
		<description><![CDATA[一直错误的一位ie8也支持*的hack，结果发现，其实它是不支持的，于是百度到了另一个适合ie6、7、8的hack，就是 \9，很诡异。 body { color:black;/非ie浏览器/ color:red\9;/所有ie浏览器/ color:blue;/ie6、7/ _color:orange;/ie6*/ } 另外缅怀一下ie的条件注释，这么两年了，我都没背下来。。。每次用都要百度去。。。 &#60;!--[if IE]&#62;ie浏览器识别&#60;![endif]--&#62; &#60;!--[if !IE]&#62;非ie浏览器识别&#60;![endif]--&#62;]]></description>
			<content:encoded><![CDATA[<p>一直错误的一位ie8也支持*的hack，结果发现，其实它是不支持的，于是百度到了另一个适合ie6、7、8的hack，就是 \9，很诡异。</p>

<p><pre>
body { <br />
 color:black;/<em>非ie浏览器</em>/<br />
 color:red\9;/<em>所有ie浏览器</em>/<br />
 <em>color:blue;/</em>ie6、7<em>/<br />
 _color:orange;/</em>ie6*/<br />
}
</pre></p>

<p>另外缅怀一下ie的条件注释，这么两年了，我都没背下来。。。每次用都要百度去。。。</p>

<p><pre>
&lt;!--[if IE]&gt;ie浏览器识别&lt;![endif]--&gt;<br />
&lt;!--[if !IE]&gt;非ie浏览器识别&lt;![endif]--&gt; 
</pre></p>
]]></content:encoded>
			<wfw:commentRss>http://www.12sui.cn/develop/ie-hack/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

