<?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>Css Snippets &#187; comment</title>
	<atom:link href="http://www.csssnippets.be/tag/comment/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.csssnippets.be</link>
	<description>Snippets for you, snippets for me</description>
	<lastBuildDate>Mon, 17 Oct 2011 08:42:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Oplossen :first-child CSS bug in IE 7</title>
		<link>http://www.csssnippets.be/2009/06/oplossen-first-child-css-bug-in-ie-7/</link>
		<comments>http://www.csssnippets.be/2009/06/oplossen-first-child-css-bug-in-ie-7/#comments</comments>
		<pubDate>Fri, 19 Jun 2009 14:24:16 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[Bug]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[:first-child]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[hack]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=277</guid>
		<description><![CDATA[Het zal je zelden voorkomen, maar de ondersteunde pseudo-selector :first-child in Internet Explorer 7 werkt niet meer als je je :first-child in de HTML vooraf gaat met een HTML comment, bekijk volgend voorbeeld:]]></description>
			<content:encoded><![CDATA[<p>Het zal je zelden voorkomen, maar de ondersteunde pseudo-selector :first-child in Internet Explorer 7 werkt niet meer als je je :first-child in de HTML vooraf gaat met een HTML comment, bekijk volgend voorbeeld:</p>
<h4>Foute HTML (in ie7 werkt de css niet meer)</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;ul&gt;
    &lt;!-- this comment does something wrong for ie7 --&gt;
    &lt;li&gt;&lt;a href="/"&gt;Start page&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/"&gt;News&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/"&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
li {
    background: red;
}
li:first-child {
    background: blue;
}
</pre>
<h4>Correcte HTML (in ie7 werkt de css weer wel)</h4>
<h3>HTML</h3>
<pre title="code" class="xhtml">
&lt;ul&gt;
    &lt;li&gt;&lt;a href="/"&gt;Start page&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/"&gt;News&lt;/a&gt;&lt;/li&gt;
    &lt;li&gt;&lt;a href="/"&gt;Contact&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
</pre>
<h3>CSS</h3>
<pre title="code" class="css">
li {
    background: red;
}
li:first-child {
    background: blue;
}
</pre>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F&amp;title=Oplossen%20%3Afirst-child%20CSS%20bug%20in%20IE%207&amp;annotation=Het%20zal%20je%20zelden%20voorkomen%2C%20maar%20de%20ondersteunde%20pseudo-selector%20%3Afirst-child%20in%20Internet%20Explorer%207%20werkt%20niet%20meer%20als%20je%20je%20%3Afirst-child%20in%20de%20HTML%20vooraf%20gaat%20met%20een%20HTML%20comment%2C%20bekijk%20volgend%20voorbeeld%3A" class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F&amp;title=Oplossen%20%3Afirst-child%20CSS%20bug%20in%20IE%207&amp;bodytext=Het%20zal%20je%20zelden%20voorkomen%2C%20maar%20de%20ondersteunde%20pseudo-selector%20%3Afirst-child%20in%20Internet%20Explorer%207%20werkt%20niet%20meer%20als%20je%20je%20%3Afirst-child%20in%20de%20HTML%20vooraf%20gaat%20met%20een%20HTML%20comment%2C%20bekijk%20volgend%20voorbeeld%3A" class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F&amp;Title=Oplossen%20%3Afirst-child%20CSS%20bug%20in%20IE%207" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Oplossen%20%3Afirst-child%20CSS%20bug%20in%20IE%207%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F&amp;title=Oplossen%20%3Afirst-child%20CSS%20bug%20in%20IE%207&amp;notes=Het%20zal%20je%20zelden%20voorkomen%2C%20maar%20de%20ondersteunde%20pseudo-selector%20%3Afirst-child%20in%20Internet%20Explorer%207%20werkt%20niet%20meer%20als%20je%20je%20%3Afirst-child%20in%20de%20HTML%20vooraf%20gaat%20met%20een%20HTML%20comment%2C%20bekijk%20volgend%20voorbeeld%3A" class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F&amp;t=Oplossen%20%3Afirst-child%20CSS%20bug%20in%20IE%207" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F06%2Foplossen-first-child-css-bug-in-ie-7%2F&amp;title=Oplossen%20%3Afirst-child%20CSS%20bug%20in%20IE%207" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/06/oplossen-first-child-css-bug-in-ie-7/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Conditional comments, allemaal</title>
		<link>http://www.csssnippets.be/2009/04/conditional-comments-allemaal/</link>
		<comments>http://www.csssnippets.be/2009/04/conditional-comments-allemaal/#comments</comments>
		<pubDate>Tue, 07 Apr 2009 16:42:32 +0000</pubDate>
		<dc:creator>Mark</dc:creator>
				<category><![CDATA[hack]]></category>
		<category><![CDATA[IE5]]></category>
		<category><![CDATA[IE6]]></category>
		<category><![CDATA[IE7]]></category>
		<category><![CDATA[IE8]]></category>
		<category><![CDATA[valid]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[conditional comment]]></category>
		<category><![CDATA[conditioneel]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.csssnippets.be/?p=157</guid>
		<description><![CDATA[Conditional comments kunnen je helpen bij het maken van CSS voor enkel één of meerdere versies van Microsoft Internet Explorer. Enkel deze browser kan de code tussen de conditionele comments lezen en dus uitvoeren.]]></description>
			<content:encoded><![CDATA[<p>Conditional comments kunnen je helpen bij het maken van CSS voor enkel één of meerdere versies van Microsoft Internet Explorer. Enkel deze browser kan de code tussen de conditionele comments lezen en dus uitvoeren.</p>
<h3>HTML</h3>
<p>Voeg volgende code eender waar in je HTML document, enkel de betreffende browser versie zal de code uitvoeren.</p>
<pre title="code" class="xhtml">
&lt;!--[if IE]&gt;
This is Internet Explorer
&lt;![endif]--&gt;
&lt;!--[if IE 5]&gt;
this is Internet Explorer 5
&lt;![endif]--&gt;
&lt;!--[if IE 5.0]&gt;
this is Internet Explorer 5.0
&lt;![endif]--&gt;
&lt;!--[if IE 5.5]&gt;
this is Internet Explorer 5.5
&lt;![endif]--&gt;
&lt;!--[if IE 6]&gt;
this is Internet Explorer 6
&lt;![endif]--&gt;
&lt;!--[if IE 7]&gt;
this is Internet Explorer 7
&lt;![endif]--&gt;
&lt;!--[if gte IE 5]&gt;
this is Internet Explorer 5 and up
&lt;![endif]--&gt;
&lt;!--[if lt IE 6]&gt;
this is Internet Explorer lower than 6
&lt;![endif]--&gt;
&lt;!--[if lte IE 5.5]&gt;
this is Internet Explorer lower or equal to 5.5
&lt;![endif]--&gt;
&lt;!--[if gt IE 6]&gt;
this is Internet Explorer greater than 6
&lt;![endif]--&gt;
</pre>
<p><strong>gt</strong> groter dan<br />
<strong>lte</strong> minder of gelijk</p>



	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F&amp;title=Conditional%20comments%2C%20allemaal&amp;annotation=Conditional%20comments%20kunnen%20je%20helpen%20bij%20het%20maken%20van%20CSS%20voor%20enkel%20%C3%A9%C3%A9n%20of%20meerdere%20versies%20van%20Microsoft%20Internet%20Explorer.%20Enkel%20deze%20browser%20kan%20de%20code%20tussen%20de%20conditionele%20comments%20lezen%20en%20dus%20uitvoeren." class="google bookmarks" title="Google Bookmarks">Google Bookmarks</a>
	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F&amp;title=Conditional%20comments%2C%20allemaal&amp;bodytext=Conditional%20comments%20kunnen%20je%20helpen%20bij%20het%20maken%20van%20CSS%20voor%20enkel%20%C3%A9%C3%A9n%20of%20meerdere%20versies%20van%20Microsoft%20Internet%20Explorer.%20Enkel%20deze%20browser%20kan%20de%20code%20tussen%20de%20conditionele%20comments%20lezen%20en%20dus%20uitvoeren." class="digg" title="Digg">Digg</a>
	<a rel="nofollow" href="http://www.blinklist.com/index.php?Action=Blink/addblink.php&amp;Url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F&amp;Title=Conditional%20comments%2C%20allemaal" class="blinklist" title="BlinkList">BlinkList</a>
	<a rel="nofollow" href="http://technorati.com/faves?add=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F" class="technorati" title="Technorati">Technorati</a>
	<a rel="nofollow" href="http://twitter.com/home?status=Conditional%20comments%2C%20allemaal%20-%20http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F" class="twitter" title="Twitter">Twitter</a>
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F&amp;title=Conditional%20comments%2C%20allemaal&amp;notes=Conditional%20comments%20kunnen%20je%20helpen%20bij%20het%20maken%20van%20CSS%20voor%20enkel%20%C3%A9%C3%A9n%20of%20meerdere%20versies%20van%20Microsoft%20Internet%20Explorer.%20Enkel%20deze%20browser%20kan%20de%20code%20tussen%20de%20conditionele%20comments%20lezen%20en%20dus%20uitvoeren." class="delicious" title="del.icio.us">del.icio.us</a>
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F&amp;t=Conditional%20comments%2C%20allemaal" class="facebook" title="Facebook">Facebook</a>
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fwww.csssnippets.be%2F2009%2F04%2Fconditional-comments-allemaal%2F&amp;title=Conditional%20comments%2C%20allemaal" class="stumbleupon" title="StumbleUpon">StumbleUpon</a>

<br/><br/>]]></content:encoded>
			<wfw:commentRss>http://www.csssnippets.be/2009/04/conditional-comments-allemaal/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

