<?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, 25 Apr 2012 19:50:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: Tina</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-20878</link>
		<dc:creator>Tina</dc:creator>
		<pubDate>Tue, 01 Feb 2011 07:48:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-20878</guid>
		<description>I don&#039;t think I can do it using just one css attribute. I need to replace the use following pseudo classes.

  #myId tr:first-child td {
    border-top: 0;
  }  
  #myId tr:last-child td {
    border-bottom-color: blue;
  }
  #myId tr td:first-child {
    border-left: 0;
  }
  #myId tr td:last-child {
    border-right-color: blue;
  }

Thank you :)</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think I can do it using just one css attribute. I need to replace the use following pseudo classes.</p>
<p>  #myId tr:first-child td {<br />
    border-top: 0;<br />
  }<br />
  #myId tr:last-child td {<br />
    border-bottom-color: blue;<br />
  }<br />
  #myId tr td:first-child {<br />
    border-left: 0;<br />
  }<br />
  #myId tr td:last-child {<br />
    border-right-color: blue;<br />
  }</p>
<p>Thank you <img src='http://mauzon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </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-20852</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Mon, 31 Jan 2011 16:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-20852</guid>
		<description>Tina, perhaps if you be better idea then to collect it into just 1 expression using border-width rule and define it as &#039;0 Xpx 0 Ypx&#039;?</description>
		<content:encoded><![CDATA[<p>Tina, perhaps if you be better idea then to collect it into just 1 expression using border-width rule and define it as &#8217;0 Xpx 0 Ypx&#8217;?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tina</title>
		<link>http://mauzon.com/first-child-and-directly-nested-children-for-ie6/comment-page-1/#comment-20843</link>
		<dc:creator>Tina</dc:creator>
		<pubDate>Mon, 31 Jan 2011 14:56:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=88#comment-20843</guid>
		<description>Why does it not work if I use:

     #myId tr td {
       border-top: expression(if(this.previousSibling == null) &#039;0&#039;);
       border-bottom: expression(if(this.previousSibling == null) &#039;0&#039;);
    }

I assume the single expressions are correct, because they work when just one of them is used.

Thank you! :)</description>
		<content:encoded><![CDATA[<p>Why does it not work if I use:</p>
<p>     #myId tr td {<br />
       border-top: expression(if(this.previousSibling == null) &#8217;0&#8242;);<br />
       border-bottom: expression(if(this.previousSibling == null) &#8217;0&#8242;);<br />
    }</p>
<p>I assume the single expressions are correct, because they work when just one of them is used.</p>
<p>Thank you! <img src='http://mauzon.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<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>
</channel>
</rss>

