<?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>Krio Media &#187; HTML/CSS</title>
	<atom:link href="http://www.krio.me/category/development-info/htmlcss/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.krio.me</link>
	<description></description>
	<lastBuildDate>Mon, 05 Jul 2010 06:27:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How To Use Conditional Comments</title>
		<link>http://www.krio.me/how-to-use-conditional-comments/</link>
		<comments>http://www.krio.me/how-to-use-conditional-comments/#comments</comments>
		<pubDate>Wed, 03 Feb 2010 18:14:11 +0000</pubDate>
		<dc:creator>Kevin Rio</dc:creator>
				<category><![CDATA[HTML/CSS]]></category>

		<guid isPermaLink="false">http://www.krio.me/?p=380</guid>
		<description><![CDATA[Utilizing conditional comments is essential for any designer/developer attempting to make their clients&#8217; sites cross-browser compatible. The First Step To Cross Browser Compatability Using conditional comments allows you to target a specific web browser so that you can apply specific styles. Since certain web browsers will display a site differently, especially internet explorer 6 &#38; [...]]]></description>
			<content:encoded><![CDATA[<p>Utilizing conditional comments is essential for any designer/developer attempting to make their clients&#8217; sites cross-browser compatible. <span id="more-380"></span></p>
<h3>The First Step To Cross Browser Compatability</h3>
<p>Using conditional comments allows you to target a specific web browser so that you can apply specific styles. Since certain web browsers will display a site differently, especially internet explorer 6 &amp; 7, this is a great tool to use to ensure that your site is compatible with browsers that your visitors are using.</p>
<p>Lets say your browser is not rendering correctly in IE6. To target all users with IE6, you would do something like this between the &lt;head&gt; tags in your document:</p>
<h1 style="margin-bottom: 5px;">Target Internet Explorer 6</h1>
<p>&lt;!&#8211;[if IE 6]&gt;<br />
Insert internet explorer 6 specific code here.<br />
&lt;![endif]&#8211;&gt;</p>
<p>All browsers other than IE6 will completely ignore this command, including IE7 and IE5.</p>
<p>There are some other useful commands that allow you to get all browsers that are greater than or less than the printed version.</p>
<h1 style="margin-bottom: 5px;">Get Versions Less Than IE 6</h1>
<pre>&lt;!--[if lt IE 6]&gt;
All versions less than IE 6 will use this command.
&lt;![endif]--&gt;</pre>
<h1 style="margin-bottom: 5px;">Get Versions Greater Than Or Equal To IE 7</h1>
<pre>&lt;!--[if gte IE 7]&gt;
All versions greater than or equal to IE 7 will use this command.
&lt;![endif]--&gt;</pre>
<h1 style="margin-bottom: 5px;">How To Insert CSS</h1>
<pre>
<pre>
<pre>&lt;!--[if IE 6]&gt;
&lt;style type="text/css"&gt;
#topdropmenu {
    display: none;
}
&lt;/style&gt;
&lt;![endif]--&gt;</pre>
</pre>
</pre>
<p>This allows you to apply specific styles on with IE6 or any other browser that you choose!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.krio.me/how-to-use-conditional-comments/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
