<?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>Ladysign Dev Blog &#187; download</title>
	<atom:link href="http://www.ladysign-apps.com/blog/tag/download/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ladysign-apps.com/blog</link>
	<description>Girls can code.</description>
	<lastBuildDate>Mon, 12 Dec 2011 16:58:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Internet Explorer 8 CSS hacks</title>
		<link>http://www.ladysign-apps.com/blog/code/css/internet-explorer-8-css-hacks/</link>
		<comments>http://www.ladysign-apps.com/blog/code/css/internet-explorer-8-css-hacks/#comments</comments>
		<pubDate>Wed, 25 Mar 2009 14:20:51 +0000</pubDate>
		<dc:creator>Lee</dc:creator>
				<category><![CDATA[browsers]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[Acid2 test]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[ie8]]></category>
		<category><![CDATA[internet explorer 8]]></category>

		<guid isPermaLink="false">http://ladysign-apps.com/blog/?p=529</guid>
		<description><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Last friday <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx" target="_blank">Internet Explorer 8</a> was launched as an official release. This will mean that lots of people will finally use [......]</p><p class='read-more'><a href='http://www.ladysign-apps.com/blog/code/css/internet-explorer-8-css-hacks/'>继续阅读</a></p>]]></description>
			<content:encoded><![CDATA[<p><strong>Difficulty:</strong> 2 out of 5 stars</p>
<p>Last friday <a href="http://www.microsoft.com/windows/internet-explorer/default.aspx" target="_blank">Internet Explorer 8</a> was launched as an official release. This will mean that lots of people will finally use it.</p>
<p>Allthough IE8 passed the <a href="http://www.webstandards.org/files/acid2/guide.html" target="_blank">ACID2 test</a>, again a new browser can be painfull for the webdeveloper to support multi-browsers.<br />
Luckily there are also IE8 CSS stylesheet hacks:</p>
<pre class="brush: css; title: ;">
.test{
     color:blue;
     //color:red;
}
</pre>
<p>With this hack, all browsers will skip the line with color: red, since this is a comment line (before the property). Except for Internet Explorer. IE8 ignores it, and just change the color to red, while other browsers keep the color blue.</p>
<p>But there is more!<br />
IE8 Standards-Mode Only:</p>
<pre class="brush: css; title: ;">
.test { color /*\**/: blue\9 }
</pre>
<p>All IE versions, including IE8 Standards Mode:</p>
<pre class="brush: css; title: ;">
.test { color: blue\9 }
</pre>
<p>Another trick, to make css styles for IE8 only, is by using conditional comment tags in your HTML:</p>
<pre class="brush: xml; title: ;">
&lt;!--[if gte IE 8]&gt;
      &lt;style type=&quot;text/css&quot;&gt;
      body {
       color: #0000ff;
       background-color: #000000;
      }
      &lt;/style&gt;
&lt;![endif]--&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.ladysign-apps.com/blog/code/css/internet-explorer-8-css-hacks/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

