<?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: Pseudoclasses :first-child and :last-child for IE6</title>
	<atom:link href="http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/feed/" rel="self" type="application/rss+xml" />
	<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-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: Alex</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12806</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 24 Jun 2010 16:49:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12806</guid>
		<description>Remove [:] symbol after P before {</description>
		<content:encoded><![CDATA[<p>Remove [:] symbol after P before {</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Amin</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12803</link>
		<dc:creator>Amin</dc:creator>
		<pubDate>Thu, 24 Jun 2010 09:32:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12803</guid>
		<description>div#test p:first-child {text-decoration: underline; color:red;}
div#test p:last-child {color: #0000ff;}



div#test p:{color:expression(this.previousSibling==null?&#039;red&#039;:&#039;black&#039;);}
div#test p:{color:expression(this.nextSibling==null?&#039;#0000ff&#039;:&#039;black&#039;);}


is not working
please advice me...

thanks &amp; regards
amin</description>
		<content:encoded><![CDATA[<p>div#test p:first-child {text-decoration: underline; color:red;}<br />
div#test p:last-child {color: #0000ff;}</p>
<p>div#test p:{color:expression(this.previousSibling==null?&#8217;red&#8217;:'black&#8217;);}<br />
div#test p:{color:expression(this.nextSibling==null?&#8217;#0000ff&#8217;:'black&#8217;);}</p>
<p>is not working<br />
please advice me&#8230;</p>
<p>thanks &amp; regards<br />
amin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: designer</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12544</link>
		<dc:creator>designer</dc:creator>
		<pubDate>Wed, 09 Jun 2010 11:41:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12544</guid>
		<description>when i try to use back ground image, it’s also not working in ie 6.0 this is my code

#subnav2 li { background-image:url(images/bg1.png); color:#fff; height:30px;}
#subnav2 li:first-child {background-image:url(images/bg2.png); color:#fff; height:30px;}
#subnav2 li {background-image: expression(this.previousSibling==null?’url(images/bg2.png)’:&#039;url(images/bg1.png)’);}</description>
		<content:encoded><![CDATA[<p>when i try to use back ground image, it’s also not working in ie 6.0 this is my code</p>
<p>#subnav2 li { background-image:url(images/bg1.png); color:#fff; height:30px;}<br />
#subnav2 li:first-child {background-image:url(images/bg2.png); color:#fff; height:30px;}<br />
#subnav2 li {background-image: expression(this.previousSibling==null?’url(images/bg2.png)’:&#8217;url(images/bg1.png)’);}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: designer</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12543</link>
		<dc:creator>designer</dc:creator>
		<pubDate>Wed, 09 Jun 2010 11:40:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12543</guid>
		<description>when i try to use back ground image, it&#039;s also not working in ie 6.0 this is my code 

#subnav2 li { background-image:url(images/bg1.png); color:#fff; height:30px;}
#subnav2 li:first-child {background-image:url(images/bg2.png); color:#fff; height:30px;}
#subnav li {background-image: expression(this.previousSibling==null?&#039;url(images/bg2.png)&#039;:&#039;url(images/bg1.png)&#039;);}</description>
		<content:encoded><![CDATA[<p>when i try to use back ground image, it&#8217;s also not working in ie 6.0 this is my code </p>
<p>#subnav2 li { background-image:url(images/bg1.png); color:#fff; height:30px;}<br />
#subnav2 li:first-child {background-image:url(images/bg2.png); color:#fff; height:30px;}<br />
#subnav li {background-image: expression(this.previousSibling==null?&#8217;url(images/bg2.png)&#8217;:'url(images/bg1.png)&#8217;);}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12542</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Wed, 09 Jun 2010 11:35:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12542</guid>
		<description>You should use expression logics within expression. 
But I suggest you to use classes instead (at least for last-child)</description>
		<content:encoded><![CDATA[<p>You should use expression logics within expression.<br />
But I suggest you to use classes instead (at least for last-child)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: designer</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12541</link>
		<dc:creator>designer</dc:creator>
		<pubDate>Wed, 09 Jun 2010 11:16:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12541</guid>
		<description>#subnav li {background-color: gray; color:#fff; height:30px;}
#subnav li:first-child {background-color: blue; color:#fff; height:30px;}
#subnav li:last-child {background-color: red; color:#fff; height:30px;}
#subnav li {background-color: expression(this.previousSibling==null?&#039;blue&#039;:&#039;gray&#039;);}
#subnav li {background-color: expression(this.nextSibling==null?&#039;red&#039;:&#039;gray&#039;);}

this is my code am not able to use first child and last at a time it&#039;s not working in ie 6.0</description>
		<content:encoded><![CDATA[<p>#subnav li {background-color: gray; color:#fff; height:30px;}<br />
#subnav li:first-child {background-color: blue; color:#fff; height:30px;}<br />
#subnav li:last-child {background-color: red; color:#fff; height:30px;}<br />
#subnav li {background-color: expression(this.previousSibling==null?&#8217;blue&#8217;:'gray&#8217;);}<br />
#subnav li {background-color: expression(this.nextSibling==null?&#8217;red&#8217;:'gray&#8217;);}</p>
<p>this is my code am not able to use first child and last at a time it&#8217;s not working in ie 6.0</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12346</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Sat, 29 May 2010 00:14:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12346</guid>
		<description>Steve, can I see your example at some URL? Try to catch me online using gTalk or Skype (username is mauzon)</description>
		<content:encoded><![CDATA[<p>Steve, can I see your example at some URL? Try to catch me online using gTalk or Skype (username is mauzon)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-12336</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Fri, 28 May 2010 12:17:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-12336</guid>
		<description>i need to display a separate background image for the fiest child of a list items following is my code i have tried different combinations but does not work 


&lt;!--[if IE 6]&gt;--&gt;

.topmenu li {background-image: expression(this.previousSibling==null?url(&#039;absolute/path/to/topmenu_divider.jpg&#039;):url(&#039;absolute/path/to/topmenu_divider1.jpg&#039;));}



please advice
thanks</description>
		<content:encoded><![CDATA[<p>i need to display a separate background image for the fiest child of a list items following is my code i have tried different combinations but does not work </p>
<p><!--[if IE 6]&gt;--></p>
<p>.topmenu li {background-image: expression(this.previousSibling==null?url(&#8216;absolute/path/to/topmenu_divider.jpg&#8217;):url(&#8216;absolute/path/to/topmenu_divider1.jpg&#8217;));}</p>
<p>please advice<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-11550</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Tue, 13 Apr 2010 13:54:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-11550</guid>
		<description>To be honest I&#039;d suggest to avoid using :last-child, it would be much more reliable to add a class there (using back-end or javascript). As not many browsers support last-child at all actually.</description>
		<content:encoded><![CDATA[<p>To be honest I&#8217;d suggest to avoid using :last-child, it would be much more reliable to add a class there (using back-end or javascript). As not many browsers support last-child at all actually.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: veerender</title>
		<link>http://mauzon.com/pseudoclasses-first-child-and-last-child-for-ie6/comment-page-1/#comment-11549</link>
		<dc:creator>veerender</dc:creator>
		<pubDate>Tue, 13 Apr 2010 13:40:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.mauzon.com/?p=85#comment-11549</guid>
		<description>Could you kindly post the code for :last-child in IE.

this.nextSibling==null is not working for the example you have given.</description>
		<content:encoded><![CDATA[<p>Could you kindly post the code for :last-child in IE.</p>
<p>this.nextSibling==null is not working for the example you have given.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
