<?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>Blog for the Web Programmers &#187; css standards</title>
	<atom:link href="http://blog.chandanweb.com/tags/css-standards/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.chandanweb.com</link>
	<description>A useful blog with code assitance on Typo3, Drupal, PHP, Apache, OpenSSL and PHP Frameworks</description>
	<lastBuildDate>Wed, 25 Jan 2012 08:35:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Writing IE 6 or IE 7 Specific CSS Code</title>
		<link>http://blog.chandanweb.com/general/writing-ie-6-or-ie-7-specific-css-code-2</link>
		<comments>http://blog.chandanweb.com/general/writing-ie-6-or-ie-7-specific-css-code-2#comments</comments>
		<pubDate>Fri, 05 Jun 2009 09:20:00 +0000</pubDate>
		<dc:creator>spabhat</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[conditional CSS]]></category>
		<category><![CDATA[css comments]]></category>
		<category><![CDATA[css hack]]></category>
		<category><![CDATA[css standards]]></category>
		<category><![CDATA[equals ie]]></category>
		<category><![CDATA[ie6]]></category>
		<category><![CDATA[ie7]]></category>
		<category><![CDATA[ie9]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://blog.chandanweb.com/general/writing-ie-6-or-ie-7-specific-css-code-2</guid>
		<description><![CDATA[This is sort of hack which helps you write CSS specific to IE6 / IE7. EX: _display:none;/* IE 6 Fix */ *display:none;/* IE 7 Fix */ NOTE: This code is not recommended if you are writing code that has to comply to CSS standards. In such cases you may have to switch to alternate methods. [...]]]></description>
			<content:encoded><![CDATA[<p>This is sort of hack which helps you write CSS specific to IE6 / IE7.</p>
<blockquote><p>EX:</p>
<p>_display:none;/* IE 6 Fix */ <br/>*display:none;/* IE 7 Fix */</p>
</blockquote>
<p>NOTE: This code is not recommended if you are writing code that has to comply to CSS standards. In such cases you may have to switch to alternate methods.</p>
<p>One of the best methods is to use conditional CSS Comments as follows:</p>
<blockquote>
<pre>
        &lt;!--[if IE]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;

        &lt;!--[if IE 6]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if IE 7]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if IE 8]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if IE 9]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if gte IE 8]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if lt IE 9]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if lte IE 7]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if gt IE 6]&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;![endif]--&gt;
        &lt;!--[if !IE]&gt; --&gt;
                &lt;link rel="stylesheet" type="text/css" href="ie.css" media="all" /&gt;
                &lt;script type="text/javascript" src="ie.js"&gt;&lt;/script&gt;
        &lt;!-- &lt;![endif]--&gt;
</pre>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://blog.chandanweb.com/general/writing-ie-6-or-ie-7-specific-css-code-2/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

