<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: How to implement :first-child and directly nested children for IE6</title>
	<atom:link href="http://mauzon.com/first-child-and-directly-nested-children-for-ie6/feed/" rel="self" type="application/rss+xml" />
	<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/</link>
	<description>Coding and programming tricks, ideas, notes: xHTML, CSS, JS etc</description>
	<lastBuildDate>Wed, 21 Jul 2010 11:22:22 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Kevin</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-12223</link>
		<dc:creator>Kevin</dc:creator>
		<pubDate>Wed, 19 May 2010 16:51:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-12223</guid>
		<description>I just made a blog post that discusses all of the different options for emulating CSS child selectors in IE6: http://craftycode.wordpress.com/2010/05/19/emulating-css-child-selectors-in-ie6/</description>
		<content:encoded><![CDATA[<p>I just made a blog post that discusses all of the different options for emulating CSS child selectors in IE6: <a href="http://craftycode.wordpress.com/2010/05/19/emulating-css-child-selectors-in-ie6/" rel="nofollow">http://craftycode.wordpress.com/2010/05/19/emulating-css-child-selectors-in-ie6/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: igi79</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-10800</link>
		<dc:creator>igi79</dc:creator>
		<pubDate>Wed, 24 Feb 2010 23:47:24 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-10800</guid>
		<description>espression:
expression(this.previousSibling==null?’none’:’url(img/ponto_menu.gif)’);
is not working due to bracket in url(img/ponto_menu.gif - see http://www.webmasterworld.com/css/3592524.htm

this is working in IE6 (dont ask me why):

#elementid{
  background-image: url(topmenu_li.png);
  background-image: expression((function(x){if(x == null)return &#039;none&#039;})(this.previousSibling));
}</description>
		<content:encoded><![CDATA[<p>espression:<br />
expression(this.previousSibling==null?’none’:’url(img/ponto_menu.gif)’);<br />
is not working due to bracket in url(img/ponto_menu.gif &#8211; see <a href="http://www.webmasterworld.com/css/3592524.htm" rel="nofollow">http://www.webmasterworld.com/css/3592524.htm</a></p>
<p>this is working in IE6 (dont ask me why):</p>
<p>#elementid{<br />
  background-image: url(topmenu_li.png);<br />
  background-image: expression((function(x){if(x == null)return &#8216;none&#8217;})(this.previousSibling));<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-10113</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 08 Jan 2010 15:04:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-10113</guid>
		<description>Hey Yannick, could you please provide URL to your model and buzz me online somehow? I think it is possible to resolve the problem, just need a bit more info. Your quote contains tiny syntax error - lack of last &#039; - it could be another reason.

Best,
Alex</description>
		<content:encoded><![CDATA[<p>Hey Yannick, could you please provide URL to your model and buzz me online somehow? I think it is possible to resolve the problem, just need a bit more info. Your quote contains tiny syntax error &#8211; lack of last &#8216; &#8211; it could be another reason.</p>
<p>Best,<br />
Alex</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yannick</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-10112</link>
		<dc:creator>Yannick</dc:creator>
		<pubDate>Fri, 08 Jan 2010 13:50:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-10112</guid>
		<description>can you chain selectors like this?

#wrap ul li { border-bottom-color:  expression(this.parentNode.previousSibling==null?&#039;red&#039;:&#039;black);}

i have 2 ul one after the other and can&#039;t modufy the code.
I just want to change all li borders from the first ul but of course ul:firstchild doesn&#039;t work in ie6

I thought i read somewhere a way to emulate it but can&#039;t find it anymore

Cheers</description>
		<content:encoded><![CDATA[<p>can you chain selectors like this?</p>
<p>#wrap ul li { border-bottom-color:  expression(this.parentNode.previousSibling==null?&#8217;red&#8217;:'black);}</p>
<p>i have 2 ul one after the other and can&#8217;t modufy the code.<br />
I just want to change all li borders from the first ul but of course ul:firstchild doesn&#8217;t work in ie6</p>
<p>I thought i read somewhere a way to emulate it but can&#8217;t find it anymore</p>
<p>Cheers</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-8921</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 06 Nov 2009 21:46:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-8921</guid>
		<description>Why? It can be done for padding and width as well with no problem.</description>
		<content:encoded><![CDATA[<p>Why? It can be done for padding and width as well with no problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luke</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-8912</link>
		<dc:creator>Luke</dc:creator>
		<pubDate>Fri, 06 Nov 2009 11:09:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-8912</guid>
		<description>Okay if you want to change the colour i guess, i found it to be usless if you want to change padding or width.</description>
		<content:encoded><![CDATA[<p>Okay if you want to change the colour i guess, i found it to be usless if you want to change padding or width.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-8198</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Fri, 25 Sep 2009 08:35:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-8198</guid>
		<description>Gimme the URL please. I guess there are some img paths issues,</description>
		<content:encoded><![CDATA[<p>Gimme the URL please. I guess there are some img paths issues,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mediadot</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-8197</link>
		<dc:creator>mediadot</dc:creator>
		<pubDate>Fri, 25 Sep 2009 08:13:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-8197</guid>
		<description>&lt;blockquote&gt;I suppose if you want to work to background-image you should write something like that:

#menu li ul li{
background-image: expression(this.previousSibling==null?’none’:’url(img/ponto_menu.gif)’);
}
&lt;/blockquote&gt;

Nah, not working for me (
Any ideas?</description>
		<content:encoded><![CDATA[<blockquote><p>I suppose if you want to work to background-image you should write something like that:</p>
<p>#menu li ul li{<br />
background-image: expression(this.previousSibling==null?’none’:’url(img/ponto_menu.gif)’);<br />
}
</p></blockquote>
<p>Nah, not working for me (<br />
Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-8013</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 21 Jan 2009 16:03:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-8013</guid>
		<description>I suppose if you want to work to background-image you should write something like that:

#menu li ul li{
background-image: expression(this.previousSibling==null?’none’:&#039;url(img/ponto_menu.gif)’);
}</description>
		<content:encoded><![CDATA[<p>I suppose if you want to work to background-image you should write something like that:</p>
<p>#menu li ul li{<br />
background-image: expression(this.previousSibling==null?’none’:&#8217;url(img/ponto_menu.gif)’);<br />
}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pirauá</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-8012</link>
		<dc:creator>Pirauá</dc:creator>
		<pubDate>Wed, 21 Jan 2009 14:58:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-8012</guid>
		<description>Hi

I&#039;m trying to use the following code:


#menu li ul li{
    background: expression(this.previousSibling==null?&#039;none&#039;:&#039;url(img/ponto_menu.gif)&#039;);
}

But it doesn&#039;t work. What&#039;s wrong?

It only works when I use just color names like this:


#menu li ul li{
    background: expression(this.previousSibling==null?&#039;red&#039;:&#039;green&#039;);
}</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>I&#8217;m trying to use the following code:</p>
<p>#menu li ul li{<br />
    background: expression(this.previousSibling==null?&#8217;none&#8217;:'url(img/ponto_menu.gif)&#8217;);<br />
}</p>
<p>But it doesn&#8217;t work. What&#8217;s wrong?</p>
<p>It only works when I use just color names like this:</p>
<p>#menu li ul li{<br />
    background: expression(this.previousSibling==null?&#8217;red&#8217;:'green&#8217;);<br />
}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
