<?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: Highlight Current Page in an HTML Document Using CSS</title>
	<atom:link href="http://www.webdevtuts.net/coding/css/highlight-current-page-in-an-html-document-using-css/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/</link>
	<description>Making tutorials fun and easy!</description>
	<lastBuildDate>Sun, 06 Nov 2011 11:56:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Marcell</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-29286</link>
		<dc:creator>Marcell</dc:creator>
		<pubDate>Fri, 01 Apr 2011 22:25:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-29286</guid>
		<description>I don&#039;t think you can have sub item highlighted. Ive seen it done using a cms but not plain css</description>
		<content:encoded><![CDATA[<p>I don&#8217;t think you can have sub item highlighted. Ive seen it done using a cms but not plain css</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Robert Anthony</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-29056</link>
		<dc:creator>Robert Anthony</dc:creator>
		<pubDate>Wed, 30 Mar 2011 15:12:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-29056</guid>
		<description>I found this tip immensely useful, and can totally relate to the &quot;end of the world feeling&quot; I had prior to reading this . I DO have a question about menus that include sub sections that also require being highlighted as active. 
Can you have multiple ID&#039;s in a body tag to establish both the parent and sub menu items as being active?</description>
		<content:encoded><![CDATA[<p>I found this tip immensely useful, and can totally relate to the &#8220;end of the world feeling&#8221; I had prior to reading this . I DO have a question about menus that include sub sections that also require being highlighted as active.<br />
Can you have multiple ID&#8217;s in a body tag to establish both the parent and sub menu items as being active?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcell</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-25746</link>
		<dc:creator>Marcell</dc:creator>
		<pubDate>Mon, 28 Feb 2011 02:15:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-25746</guid>
		<description>No problem! Glad it helped :)</description>
		<content:encoded><![CDATA[<p>No problem! Glad it helped <img src='http://webdevtuts.s3.amazonaws.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nicky</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-25741</link>
		<dc:creator>nicky</dc:creator>
		<pubDate>Mon, 28 Feb 2011 01:55:56 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-25741</guid>
		<description>this helped me so much! thanks!</description>
		<content:encoded><![CDATA[<p>this helped me so much! thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Marcell</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-14669</link>
		<dc:creator>Marcell</dc:creator>
		<pubDate>Mon, 15 Nov 2010 19:49:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-14669</guid>
		<description>Great method Michael. I&#039;ve tried the current class with css but did not have luck. Maybe I did something wrong but will give it a try again. I know the li.current works with wordpress though.</description>
		<content:encoded><![CDATA[<p>Great method Michael. I&#8217;ve tried the current class with css but did not have luck. Maybe I did something wrong but will give it a try again. I know the li.current works with wordpress though.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jeranon</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-14571</link>
		<dc:creator>Jeranon</dc:creator>
		<pubDate>Sun, 14 Nov 2010 00:20:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-14571</guid>
		<description>I agree w/ Steve, however, since you&#039;re only ever using it once on a page, you can use either &quot;class&quot; or &quot;id&quot;.
It&#039;s an easier way to code it, but, very creative method you&#039;ve come up w/!
One other thing, Notepad++ isn&#039;t a wysiwyg... :D</description>
		<content:encoded><![CDATA[<p>I agree w/ Steve, however, since you&#8217;re only ever using it once on a page, you can use either &#8220;class&#8221; or &#8220;id&#8221;.<br />
It&#8217;s an easier way to code it, but, very creative method you&#8217;ve come up w/!<br />
One other thing, Notepad++ isn&#8217;t a wysiwyg&#8230; <img src='http://webdevtuts.s3.amazonaws.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michael Glasser</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-14497</link>
		<dc:creator>Michael Glasser</dc:creator>
		<pubDate>Fri, 12 Nov 2010 16:44:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-14497</guid>
		<description>I do much the same thing but with a different method.  Instead of having a different ID (or class) for each page (each body tag) I use a &quot;current&quot; class for each button I want to show is current.  This means the CSS can be as simple as:
 li.current {
       padding:10px;
       background:#FF0000;
       margin-right:5px;
       color:#FFFF00;
       text-decoration:none;
  }
The advantage is I do not need to alter my CSS for every page I add - just add the current class to any li I want to show is the current page.  The HTML looks like this:
&lt;div id=&quot;nav&quot;&gt;
         &lt;ul&gt;
             &lt;li class=&quot;current&quot;&gt;&lt;a href=&quot;index.html&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;
             &lt;li&gt;&lt;a href=&quot;about.html&quot;&gt;About&lt;/a&gt;&lt;/li&gt;
             &lt;li&gt;&lt;a href=&quot;team.html&quot;&gt;Team&lt;/a&gt;&lt;/li&gt;
             &lt;li&gt;&lt;a href=&quot;video.html&quot;&gt;Video&lt;/a&gt;&lt;/li&gt;
             &lt;li&gt;&lt;a href=&quot;contact.html&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;
             &lt;/ul&gt;
&lt;/div&gt;
This is also less work for each navigation section - no need to add IDs (or classes) to every li.  You can also easily have multiple items show as current, which is useful for when you have a hierarchical menu system.</description>
		<content:encoded><![CDATA[<p>I do much the same thing but with a different method.  Instead of having a different ID (or class) for each page (each body tag) I use a &quot;current&quot; class for each button I want to show is current.  This means the CSS can be as simple as:<br />
 li.current {<br />
       padding:10px;<br />
       background:#FF0000;<br />
       margin-right:5px;<br />
       color:#FFFF00;<br />
       text-decoration:none;<br />
  }<br />
The advantage is I do not need to alter my CSS for every page I add &#8211; just add the current class to any li I want to show is the current page.  The HTML looks like this:<br />
&lt;div id=&quot;nav&quot;&gt;<br />
         &lt;ul&gt;<br />
             &lt;li class=&quot;current&quot;&gt;&lt;a href=&quot;index.html&quot;&gt;Home&lt;/a&gt;&lt;/li&gt;<br />
             &lt;li&gt;&lt;a href=&quot;about.html&quot;&gt;About&lt;/a&gt;&lt;/li&gt;<br />
             &lt;li&gt;&lt;a href=&quot;team.html&quot;&gt;Team&lt;/a&gt;&lt;/li&gt;<br />
             &lt;li&gt;&lt;a href=&quot;video.html&quot;&gt;Video&lt;/a&gt;&lt;/li&gt;<br />
             &lt;li&gt;&lt;a href=&quot;contact.html&quot;&gt;Contact&lt;/a&gt;&lt;/li&gt;<br />
             &lt;/ul&gt;<br />
&lt;/div&gt;<br />
This is also less work for each navigation section &#8211; no need to add IDs (or classes) to every li.  You can also easily have multiple items show as current, which is useful for when you have a hierarchical menu system.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-2319</link>
		<dc:creator>Steve</dc:creator>
		<pubDate>Sat, 20 Feb 2010 13:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-2319</guid>
		<description>Another way you can accomplish this would to utilize the class attribute. This can be accomplished by creating a class of active (class=&quot;active&quot;) to the active page. Since classes are reusable, you can apply them to as many pages as you want.

you&#039;ll get the same effect and less writing.</description>
		<content:encoded><![CDATA[<p>Another way you can accomplish this would to utilize the class attribute. This can be accomplished by creating a class of active (class=&#8221;active&#8221;) to the active page. Since classes are reusable, you can apply them to as many pages as you want.</p>
<p>you&#8217;ll get the same effect and less writing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kelvinwebdesigner</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-1522</link>
		<dc:creator>kelvinwebdesigner</dc:creator>
		<pubDate>Tue, 19 Jan 2010 17:25:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-1522</guid>
		<description>Nice! 
Keep writing, I think you articles are very basic but helpfull.
CG</description>
		<content:encoded><![CDATA[<p>Nice!<br />
Keep writing, I think you articles are very basic but helpfull.<br />
CG</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Highlight Current Page in an HTML Document Using Css &#124; Webdevtuts &#124; CSS Guru How to CSS</title>
		<link>http://www.webdevtuts.net/css/highlight-current-page-in-an-html-document-using-css/#comment-1466</link>
		<dc:creator>Highlight Current Page in an HTML Document Using Css &#124; Webdevtuts &#124; CSS Guru How to CSS</dc:creator>
		<pubDate>Mon, 18 Jan 2010 09:37:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.webdevtuts.net/?p=735#comment-1466</guid>
		<description>[...] post: Highlight Current Page in an HTML Document Using Css &#124; Webdevtuts   Share and [...]</description>
		<content:encoded><![CDATA[<p>[...] post: Highlight Current Page in an HTML Document Using Css | Webdevtuts   Share and [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using disk: enhanced
Content Delivery Network via Amazon Web Services: S3: webdevtuts.s3.amazonaws.com

Served from: www.webdevtuts.net @ 2012-02-07 18:22:52 -->
