<?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: Tab-Based Navigation in Six (or Seven) Easy Steps</title> <atom:link href="http://www.cssnewbie.com/tab-based-navigation/feed/" rel="self" type="application/rss+xml" /><link>http://www.cssnewbie.com/tab-based-navigation/</link> <description>Web Development Tutorials, Tips &#38; Techniques</description> <lastBuildDate>Tue, 07 Feb 2012 11:23:26 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.0.1</generator> <item><title>By: Jason</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-13894</link> <dc:creator>Jason</dc:creator> <pubDate>Sun, 18 Dec 2011 02:27:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-13894</guid> <description>A lot of these articles are really helpful, and this one could be as well.
I am a complete newb and the examples would help me out a lot. Unfortunately, the examples are not functioning because all of the source codes and results are the same.</description> <content:encoded><![CDATA[<p>A lot of these articles are really helpful, and this one could be as well.<br
/> I am a complete newb and the examples would help me out a lot. Unfortunately, the examples are not functioning because all of the source codes and results are the same.</p> ]]></content:encoded> </item> <item><title>By: sjaak Wooning</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-13463</link> <dc:creator>sjaak Wooning</dc:creator> <pubDate>Wed, 15 Jun 2011 07:17:34 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-13463</guid> <description>It is partly working for me. The tab based menu bar looks perfect. Also the hoover works just fine. The selected also.There is just one tiny thing that irritates me a lot.
I want the menu that is selected stay selected. When i click it it is selected. But i want the menu item to be selected all the time.ai added the javascript into my masterpage but it doesn&#039;t seem to work.can you help me out. I like the solution it looks so easy to do.</description> <content:encoded><![CDATA[<p>It is partly working for me. The tab based menu bar looks perfect. Also the hoover works just fine. The selected also.</p><p>There is just one tiny thing that irritates me a lot.<br
/> I want the menu that is selected stay selected. When i click it it is selected. But i want the menu item to be selected all the time.</p><p>ai added the javascript into my masterpage but it doesn&#8217;t seem to work.</p><p>can you help me out. I like the solution it looks so easy to do.</p> ]]></content:encoded> </item> <item><title>By: Mike</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-11209</link> <dc:creator>Mike</dc:creator> <pubDate>Fri, 12 Feb 2010 01:18:09 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-11209</guid> <description>Not sure why but the changes you made broke it in IE, and it doesn&#039;t respond as well in other browsers Revision. Perhaps we shouldn&#039;t fix what isn&#039;t broken?</description> <content:encoded><![CDATA[<p>Not sure why but the changes you made broke it in IE, and it doesn&#8217;t respond as well in other browsers Revision. Perhaps we shouldn&#8217;t fix what isn&#8217;t broken?</p> ]]></content:encoded> </item> <item><title>By: Saint John Web Design &#124; Informative Computer Solutions &#187; Blog Archive &#187; A Super Simple Horizontal Navigation Bar</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-11192</link> <dc:creator>Saint John Web Design &#124; Informative Computer Solutions &#187; Blog Archive &#187; A Super Simple Horizontal Navigation Bar</dc:creator> <pubDate>Sun, 07 Feb 2010 04:29:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-11192</guid> <description>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</description> <content:encoded><![CDATA[<p>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</p> ]]></content:encoded> </item> <item><title>By: Mike Capson &#187; Blog Archive &#187; A Super Simple Horizontal Navigation Bar</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-11180</link> <dc:creator>Mike Capson &#187; Blog Archive &#187; A Super Simple Horizontal Navigation Bar</dc:creator> <pubDate>Sat, 06 Feb 2010 00:57:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-11180</guid> <description>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</description> <content:encoded><![CDATA[<p>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</p> ]]></content:encoded> </item> <item><title>By: A Super Simple Horizontal Navigation Bar &#124; CSS Heaven</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-10034</link> <dc:creator>A Super Simple Horizontal Navigation Bar &#124; CSS Heaven</dc:creator> <pubDate>Sun, 11 Oct 2009 20:12:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-10034</guid> <description>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</description> <content:encoded><![CDATA[<p>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</p> ]]></content:encoded> </item> <item><title>By: A Super Simple Horizontal Navigation Bar</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-9930</link> <dc:creator>A Super Simple Horizontal Navigation Bar</dc:creator> <pubDate>Fri, 04 Sep 2009 23:47:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-9930</guid> <description>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</description> <content:encoded><![CDATA[<p>[...] occurs to me that, while I&#8217;ve written tutorials on tabbed navigation bars, dropdown navigation bars, and even horizontal dropdown navigation bars, I&#8217;ve never stopped to [...]</p> ]]></content:encoded> </item> <item><title>By: Revision</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-9470</link> <dc:creator>Revision</dc:creator> <pubDate>Sat, 14 Mar 2009 05:22:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-9470</guid> <description>Couldn&#039;t rest until I worked out why the display: inline; and line-height declarations were in the original. Well, they were there to make IE6 (and earlier) work of course! I started from a standards compliant browser and then forgot that IE6 is still being used, regrettably. So, here&#039;s code that should work in most browsers (with the lines that fix IE6 all beginning with an underscore - meaning only IE6 reads them - all other browsers ignore them):ul#nav {
position: absolute;
top: 10px;
right: 0;
list-style: none;
margin: 0;
padding: 0;
overflow: auto;
_height: 1%;
}ul#nav li {
float: left;
}ul#nav li a {
display: block;
_position: relative;
_display: inline-block;
padding: 13px 5px 7px 5px;
margin-right: 5px;
background-color: #034a7f;
color: #fff;
font-weight: bold;
text-decoration: none; }ul#nav li a:hover {
padding-top: 17px;
background-color: #075a97; }One final IE6 quirk. If you upload this to your host and run the file in IE6 it is fine. If you run it locally, then you may need to refresh the page before the menu will appear (tried the peekaboo fixes and they don;t work).This only applies if the menu is positioned absolutely. If it is in the normal flow, it is fine. Can anyone suggest why?</description> <content:encoded><![CDATA[<p>Couldn&#8217;t rest until I worked out why the display: inline; and line-height declarations were in the original. Well, they were there to make IE6 (and earlier) work of course! I started from a standards compliant browser and then forgot that IE6 is still being used, regrettably. So, here&#8217;s code that should work in most browsers (with the lines that fix IE6 all beginning with an underscore &#8211; meaning only IE6 reads them &#8211; all other browsers ignore them):</p><p>ul#nav {<br
/> position: absolute;<br
/> top: 10px;<br
/> right: 0;<br
/> list-style: none;<br
/> margin: 0;<br
/> padding: 0;<br
/> overflow: auto;<br
/> _height: 1%;<br
/> }</p><p>ul#nav li {<br
/> float: left;<br
/> }</p><p>ul#nav li a {<br
/> display: block;<br
/> _position: relative;<br
/> _display: inline-block;<br
/> padding: 13px 5px 7px 5px;<br
/> margin-right: 5px;<br
/> background-color: #034a7f;<br
/> color: #fff;<br
/> font-weight: bold;<br
/> text-decoration: none; }</p><p>ul#nav li a:hover {<br
/> padding-top: 17px;<br
/> background-color: #075a97; }</p><p>One final IE6 quirk. If you upload this to your host and run the file in IE6 it is fine. If you run it locally, then you may need to refresh the page before the menu will appear (tried the peekaboo fixes and they don;t work).</p><p>This only applies if the menu is positioned absolutely. If it is in the normal flow, it is fine. Can anyone suggest why?</p> ]]></content:encoded> </item> <item><title>By: Revision</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-9469</link> <dc:creator>Revision</dc:creator> <pubDate>Fri, 13 Mar 2009 00:19:04 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-9469</guid> <description>I wonder if one misunderstanding leads to another. The code can more properly be written as:ul#nav {
position: absolute;
top: 10px;
right: 0;
list-style: none;
margin: 0;
padding: 0;
overflow: auto;
}ul#nav li {
float: left;  }ul#nav li a {
/*	display: inline;
float: left;*/
display: block;
padding: 13px 5px 7px 5px;
/*	line-height: 2em;*/
margin-right: 5px;
background-color: #034a7f;
color: #fff;
font-weight: bold;
text-decoration: none; }Where it starts to get skewed with this attempt create a horizontal menu is the missing [overflow: auto;] declaration on the ul element. This declaration forces the ul parent to wrap around the floated li children, the use of the succeeding float of the a element is then not required (actually gets in the way in some browsers). And why is the [display: inline;] declaration there I wonder?Now, the a element (normally an inline element) can usefully get the [display: block] declaration added. This then allows vertical settings (margins, padding etc.) to apply properly. Is this why line-height was included - because padding was not giving the required vertical spacing? I don&#039;t know but set the top and bottom padding values as shown and line-height setting is redundant.To end: in this example, because the ul element has [position: absolute;] which takes it out of the normal document flow, then [overflow: auto;] is not needed but I included it for completeness.
Regards
Revision</description> <content:encoded><![CDATA[<p>I wonder if one misunderstanding leads to another. The code can more properly be written as:</p><p>ul#nav {<br
/> position: absolute;<br
/> top: 10px;<br
/> right: 0;<br
/> list-style: none;<br
/> margin: 0;<br
/> padding: 0;<br
/> overflow: auto;<br
/> }</p><p>ul#nav li {<br
/> float: left;  }</p><p>ul#nav li a {<br
/> /*	display: inline;<br
/> float: left;*/<br
/> display: block;<br
/> padding: 13px 5px 7px 5px;<br
/> /*	line-height: 2em;*/<br
/> margin-right: 5px;<br
/> background-color: #034a7f;<br
/> color: #fff;<br
/> font-weight: bold;<br
/> text-decoration: none; }</p><p>Where it starts to get skewed with this attempt create a horizontal menu is the missing [overflow: auto;] declaration on the ul element. This declaration forces the ul parent to wrap around the floated li children, the use of the succeeding float of the a element is then not required (actually gets in the way in some browsers). And why is the [display: inline;] declaration there I wonder?</p><p>Now, the a element (normally an inline element) can usefully get the [display: block] declaration added. This then allows vertical settings (margins, padding etc.) to apply properly. Is this why line-height was included &#8211; because padding was not giving the required vertical spacing? I don&#8217;t know but set the top and bottom padding values as shown and line-height setting is redundant.</p><p>To end: in this example, because the ul element has [position: absolute;] which takes it out of the normal document flow, then [overflow: auto;] is not needed but I included it for completeness.<br
/> Regards<br
/> Revision</p> ]]></content:encoded> </item> <item><title>By: Sh</title><link>http://www.cssnewbie.com/tab-based-navigation/comment-page-1/#comment-4492</link> <dc:creator>Sh</dc:creator> <pubDate>Wed, 09 Jul 2008 07:23:29 +0000</pubDate> <guid
isPermaLink="false">http://www.cssnewbie.com/navigation/tab-based-navigation/#comment-4492</guid> <description>Thank u so much! It worked fantastically!</description> <content:encoded><![CDATA[<p>Thank u so much! It worked fantastically!</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (user agent is rejected)

Served from: www.cssnewbie.com @ 2012-02-08 02:42:11 -->
