<?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: CSS Current Page Indicator</title>
	<atom:link href="http://www.search-this.com/2007/06/13/css-current-page-indicator/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/</link>
	<description>Internet Marketing, Website Promotion and Blogging Advice</description>
	<lastBuildDate>Sun, 29 Jan 2012 02:18:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Jenny</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-238591</link>
		<dc:creator>Jenny</dc:creator>
		<pubDate>Mon, 05 Sep 2011 10:49:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-238591</guid>
		<description>A helpful article. 

One question though. 

When I set the css to highlight the current menu, it works just fine. But when I have a drop-down menu, the css hightlights the entire  drop down menu (meaning every item so the entire menu is that highlighted color.

I only want the menu to be highlighted and not the entire block. Can I ask for your help? Thanks in advance!</description>
		<content:encoded><![CDATA[<p>A helpful article. </p>
<p>One question though. </p>
<p>When I set the css to highlight the current menu, it works just fine. But when I have a drop-down menu, the css hightlights the entire  drop down menu (meaning every item so the entire menu is that highlighted color.</p>
<p>I only want the menu to be highlighted and not the entire block. Can I ask for your help? Thanks in advance!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: EJ Note</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-232018</link>
		<dc:creator>EJ Note</dc:creator>
		<pubDate>Mon, 15 Aug 2011 19:58:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-232018</guid>
		<description>Great article - even given it is 4 years old. I just ran across a site that needed a similar solution and with the new CSS3 child selectors this can be done through pseudo-classes. It eliminates the need for adding classes to each list item.

body.section1 #nav li:nth-child(1), body.section2 #nav li:nth-child(2),... {background:#ffffcc;}</description>
		<content:encoded><![CDATA[<p>Great article &#8211; even given it is 4 years old. I just ran across a site that needed a similar solution and with the new CSS3 child selectors this can be done through pseudo-classes. It eliminates the need for adding classes to each list item.</p>
<p>body.section1 #nav li:nth-child(1), body.section2 #nav li:nth-child(2),&#8230; {background:#ffffcc;}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-203454</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Sat, 16 Apr 2011 10:48:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-203454</guid>
		<description>@s.lourdoss: We&#039;d need to see exactly what you are trying to do to answer that I&#039;m afraid.</description>
		<content:encoded><![CDATA[<p>@s.lourdoss: We&#8217;d need to see exactly what you are trying to do to answer that I&#8217;m afraid.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-203451</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Sat, 16 Apr 2011 10:45:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-203451</guid>
		<description>@Mia: It should work everywhere. You must have an error in your code. You&#039;ll need to provide more info if you want help.</description>
		<content:encoded><![CDATA[<p>@Mia: It should work everywhere. You must have an error in your code. You&#8217;ll need to provide more info if you want help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: s.lourdoss</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-203438</link>
		<dc:creator>s.lourdoss</dc:creator>
		<pubDate>Sat, 16 Apr 2011 09:53:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-203438</guid>
		<description>but is it is possible showing current thumbnail indicator in a single page with more number thumnail</description>
		<content:encoded><![CDATA[<p>but is it is possible showing current thumbnail indicator in a single page with more number thumnail</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mia</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-201507</link>
		<dc:creator>mia</dc:creator>
		<pubDate>Mon, 04 Apr 2011 21:40:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-201507</guid>
		<description>Thank you for this.
It works in IE 7 &amp; 8 but not in Firefox.
Help</description>
		<content:encoded><![CDATA[<p>Thank you for this.<br />
It works in IE 7 &amp; 8 but not in Firefox.<br />
Help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-191209</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Mon, 07 Feb 2011 15:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-191209</guid>
		<description>Hi Sarah,

There should be no problem in having a third type of image for the current page as you would just adjust the code accordingly.

e.g. roughly:

#nav li.one a {
	background:yellow;/* normal*/
}
#nav li.one a:hover {
	background:blue;/* hover*/
}
body.section1 #nav li.one a,
body.section1 #nav li.one a:hover{
	background:red;/* current*/
}

If you don&#039;t want the current nav clickable and you don&#039;t want to change the link to a span on the current page then you could use the technique from this example instead.

http://www.pmob.co.uk/temp2/page1.htm

A span is absolutely placed over the link (when it is current) so that you can&#039;t click it. When it is not current the span does nothing.

It&#039;s too hard to provide support through a blog post so if you want detailed help then post in the Sitepount CSS forums (http://www.sitepoint.com/forums/forumdisplay.php?s=&amp;daysprune=&amp;f=53) where its easier to post code, links and attachments.</description>
		<content:encoded><![CDATA[<p>Hi Sarah,</p>
<p>There should be no problem in having a third type of image for the current page as you would just adjust the code accordingly.</p>
<p>e.g. roughly:</p>
<p>#nav li.one a {<br />
	background:yellow;/* normal*/<br />
}<br />
#nav li.one a:hover {<br />
	background:blue;/* hover*/<br />
}<br />
body.section1 #nav li.one a,<br />
body.section1 #nav li.one a:hover{<br />
	background:red;/* current*/<br />
}</p>
<p>If you don&#8217;t want the current nav clickable and you don&#8217;t want to change the link to a span on the current page then you could use the technique from this example instead.</p>
<p><a href="http://www.pmob.co.uk/temp2/page1.htm" rel="nofollow">http://www.pmob.co.uk/temp2/page1.htm</a></p>
<p>A span is absolutely placed over the link (when it is current) so that you can&#8217;t click it. When it is not current the span does nothing.</p>
<p>It&#8217;s too hard to provide support through a blog post so if you want detailed help then post in the Sitepount CSS forums (<a href="http://www.sitepoint.com/forums/forumdisplay.php?s=&#038;daysprune=&#038;f=53" rel="nofollow">http://www.sitepoint.com/forums/forumdisplay.php?s=&#038;daysprune=&#038;f=53</a>) where its easier to post code, links and attachments.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sarah</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-190659</link>
		<dc:creator>Sarah</dc:creator>
		<pubDate>Thu, 03 Feb 2011 20:25:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-190659</guid>
		<description>Hello, 

Your solution to the active link css seems to be just the thing I need, but I am having trouble customising it to work with my nav menu.

1. I&#039;m creating a Dreamweaver template with the nav menu set up in it;

2. In the css file I&#039;ve got each of the menuitems each with a background image: #menutop li.buttonHome a{background-image.....} 

3. there is also a hover with a different background image: #menutop li.buttonHome a:hover {background-image....}

4. This all works so far just fine. In the Template I&#039;ve specified editable attributes for:
- the class of each a href on the menu buttons

- and the class of the body tag.

What I would like to do is set the menu up so that on the currently viewed page, a third background image, namely the one with a different colour, etc. displays instead of the default link image. 

How can I do this with the code you have provided here? I&#039;ve tried changing the body class and menu button class via the &quot;Modify Template Properties&quot; in Dreamweaver but it&#039;s not working... 

Along with this, I would like to have the active link class override the a:hover function, as well as disable the a href of the button corresponding to the currently viewed page. 

Can you help? This would all be simple enough I think, if I wasn&#039;t trying to get it all into the one template. I&#039;m just trying to avoid having to make changes to the nav menu on every single page of my site...

Thanks!</description>
		<content:encoded><![CDATA[<p>Hello, </p>
<p>Your solution to the active link css seems to be just the thing I need, but I am having trouble customising it to work with my nav menu.</p>
<p>1. I&#8217;m creating a Dreamweaver template with the nav menu set up in it;</p>
<p>2. In the css file I&#8217;ve got each of the menuitems each with a background image: #menutop li.buttonHome a{background-image&#8230;..} </p>
<p>3. there is also a hover with a different background image: #menutop li.buttonHome a:hover {background-image&#8230;.}</p>
<p>4. This all works so far just fine. In the Template I&#8217;ve specified editable attributes for:<br />
- the class of each a href on the menu buttons</p>
<p>- and the class of the body tag.</p>
<p>What I would like to do is set the menu up so that on the currently viewed page, a third background image, namely the one with a different colour, etc. displays instead of the default link image. </p>
<p>How can I do this with the code you have provided here? I&#8217;ve tried changing the body class and menu button class via the &#8220;Modify Template Properties&#8221; in Dreamweaver but it&#8217;s not working&#8230; </p>
<p>Along with this, I would like to have the active link class override the a:hover function, as well as disable the a href of the button corresponding to the currently viewed page. </p>
<p>Can you help? This would all be simple enough I think, if I wasn&#8217;t trying to get it all into the one template. I&#8217;m just trying to avoid having to make changes to the nav menu on every single page of my site&#8230;</p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: James</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-175860</link>
		<dc:creator>James</dc:creator>
		<pubDate>Wed, 13 Oct 2010 06:17:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-175860</guid>
		<description>So, I tried doing this and I don&#039;t quite get it.

I copied the code above, swapped out my variables, but it didn&#039;t work.

Instead of class&#039; I am using ID&#039;s.

That&#039;s it. Should work, right? What&#039;s up?</description>
		<content:encoded><![CDATA[<p>So, I tried doing this and I don&#8217;t quite get it.</p>
<p>I copied the code above, swapped out my variables, but it didn&#8217;t work.</p>
<p>Instead of class&#8217; I am using ID&#8217;s.</p>
<p>That&#8217;s it. Should work, right? What&#8217;s up?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-172517</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Tue, 24 Aug 2010 15:35:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-172517</guid>
		<description>Hi Erinn,

It depends on what you mean by image swap. If you are using javascript then css can&#039;t affect that but if you are simply swapping the nav menu items on hover then you should be able to target those in the same way as the background is changing.

If you meant something more complicated I&#039;d need to see the page and check first :)</description>
		<content:encoded><![CDATA[<p>Hi Erinn,</p>
<p>It depends on what you mean by image swap. If you are using javascript then css can&#8217;t affect that but if you are simply swapping the nav menu items on hover then you should be able to target those in the same way as the background is changing.</p>
<p>If you meant something more complicated I&#8217;d need to see the page and check first <img src='http://www.search-this.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: erinn</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-172458</link>
		<dc:creator>erinn</dc:creator>
		<pubDate>Mon, 23 Aug 2010 20:05:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-172458</guid>
		<description>Hello, I would like to apply this technique to my page - however my links are triggering an image swap event which occurs within the same html page. I would like the link corresponding with the current image to be highlighted.  Is this possible using the code you suggested above?
thank you.</description>
		<content:encoded><![CDATA[<p>Hello, I would like to apply this technique to my page &#8211; however my links are triggering an image swap event which occurs within the same html page. I would like the link corresponding with the current image to be highlighted.  Is this possible using the code you suggested above?<br />
thank you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-171880</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Mon, 16 Aug 2010 19:53:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-171880</guid>
		<description>Hi Rory,

If you want to change the text color instead of the background color thewn just change the rule fr each.

body.section1 #nav li.one {color:red}
body.section2 #nav li.two {color:blue}

etc...

If on the other hand you meant you wanted to change the text on the whole page then you would need to address the elements that are giving the colour to the page.

If you have just set the color on the body element then you can just set up classes to change it for each page as required.

Just add a different class to the body tag on each page and then address the style using that class.

e.g.

body.page1 {color:red}
body.page2 {color:blue}

etc....

Then in each page make sure you have added the correct class to the opening body tag as required.

If on the other hand you have specifically added colours to different elements then you will need to target those elements via the body class.

e.g.

body.pag1 h1 {color:red}
etc...


Hope that covers what you wanted.</description>
		<content:encoded><![CDATA[<p>Hi Rory,</p>
<p>If you want to change the text color instead of the background color thewn just change the rule fr each.</p>
<p>body.section1 #nav li.one {color:red}<br />
body.section2 #nav li.two {color:blue}</p>
<p>etc&#8230;</p>
<p>If on the other hand you meant you wanted to change the text on the whole page then you would need to address the elements that are giving the colour to the page.</p>
<p>If you have just set the color on the body element then you can just set up classes to change it for each page as required.</p>
<p>Just add a different class to the body tag on each page and then address the style using that class.</p>
<p>e.g.</p>
<p>body.page1 {color:red}<br />
body.page2 {color:blue}</p>
<p>etc&#8230;.</p>
<p>Then in each page make sure you have added the correct class to the opening body tag as required.</p>
<p>If on the other hand you have specifically added colours to different elements then you will need to target those elements via the body class.</p>
<p>e.g.</p>
<p>body.pag1 h1 {color:red}<br />
etc&#8230;</p>
<p>Hope that covers what you wanted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rory</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-171876</link>
		<dc:creator>Rory</dc:creator>
		<pubDate>Mon, 16 Aug 2010 17:56:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-171876</guid>
		<description>Hey Paul,

really impressed with all your work, helping the CSS noobs!

I&#039;m trying to integrate this into a website I&#039;m currently working on, but am a little confused as to where I add the

&quot; body.section1 #nav li.one {background:#ffffcc;}    &quot;

I plan to use your CSS code to change the colour of the text on the page you are on. So i&#039;m guessing instead of:

 {background:#ffffcc;}

I would have something like:

{color:#630;}

would really appreciate your help.

thanks,

Rory</description>
		<content:encoded><![CDATA[<p>Hey Paul,</p>
<p>really impressed with all your work, helping the CSS noobs!</p>
<p>I&#8217;m trying to integrate this into a website I&#8217;m currently working on, but am a little confused as to where I add the</p>
<p>&#8221; body.section1 #nav li.one {background:#ffffcc;}    &#8221;</p>
<p>I plan to use your CSS code to change the colour of the text on the page you are on. So i&#8217;m guessing instead of:</p>
<p> {background:#ffffcc;}</p>
<p>I would have something like:</p>
<p>{color:#630;}</p>
<p>would really appreciate your help.</p>
<p>thanks,</p>
<p>Rory</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guest</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-169406</link>
		<dc:creator>Guest</dc:creator>
		<pubDate>Sun, 11 Jul 2010 09:13:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-169406</guid>
		<description>Great tutorial. I spent about 2 hours searching for this solution and finally I found this tutorial. 

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Great tutorial. I spent about 2 hours searching for this solution and finally I found this tutorial. </p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Paul OB</title>
		<link>http://www.search-this.com/2007/06/13/css-current-page-indicator/comment-page-1/#comment-169230</link>
		<dc:creator>Paul OB</dc:creator>
		<pubDate>Thu, 08 Jul 2010 14:27:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.search-this.com/2007/06/13/css-current-page-indicator/#comment-169230</guid>
		<description>@Charles: You would need to dynamically add the class to the body tag Via php preferably.

http://www.alistapart.com/articles/keepingcurrent/

If you are using PHP anyway then there are quite a number of php routines about that could grab the current url and adjust the class accordingly.

In my example you could add the class to the html element instead although it&#039;s not really allowed by the specs but is unlikely to do harm.</description>
		<content:encoded><![CDATA[<p>@Charles: You would need to dynamically add the class to the body tag Via php preferably.</p>
<p><a href="http://www.alistapart.com/articles/keepingcurrent/" rel="nofollow">http://www.alistapart.com/articles/keepingcurrent/</a></p>
<p>If you are using PHP anyway then there are quite a number of php routines about that could grab the current url and adjust the class accordingly.</p>
<p>In my example you could add the class to the html element instead although it&#8217;s not really allowed by the specs but is unlikely to do harm.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

