<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1041954" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1041954</link>
    <description></description>
    <language>en</language>
          <item>
    <title>You probably don&#039;t want to</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-ulli-help-needed#comment-1233702</link>
    <description> &lt;p&gt;You probably don&#039;t want to use a link at all -- a link to the same page you&#039;re already at is not very useful.&lt;/p&gt;
&lt;p&gt;My suggestion would be to exchange the A element for STRONG, and apply the same CSS as for the link, viz:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#main_nav li a,&lt;br /&gt;#main-nav li strong {&lt;br /&gt;&amp;nbsp; display:block; &lt;br /&gt;&amp;nbsp; float:left; &lt;br /&gt;&amp;nbsp; height:50px; &lt;br /&gt;&amp;nbsp; width:150px; &lt;br /&gt;&amp;nbsp; text-decoration:none; &lt;br /&gt;&amp;nbsp; padding:0; &lt;br /&gt;&amp;nbsp; cursor:pointer;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
Then add:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#main-nave li strong {&lt;br /&gt;&amp;nbsp; cursor: default;&lt;br /&gt;&amp;nbsp; background-position: 0 50px;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
Advantages:&lt;br /&gt;
- no clickable link&lt;br /&gt;
- simpler CSS&lt;br /&gt;
- informs screen readers &quot;you are here&quot;&lt;br /&gt;
- works with text-only browsers&lt;/p&gt;
 </description>
     <pubDate>Mon, 22 Sep 2008 02:06:46 +0000</pubDate>
 <dc:creator>webwiz</dc:creator>
 <guid isPermaLink="false">comment 1233702 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Ahh.
I tried everything,</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-ulli-help-needed#comment-1233657</link>
    <description> &lt;p&gt;Ahh.&lt;br /&gt;
I tried everything, including specifically naming the UL and LI for current and also a complete separate class for LI not_current.&lt;/p&gt;
&lt;p&gt;I&#039;m sure I even tried that, but I can&#039;t have as it works like a charm now. &lt;/p&gt;
&lt;p&gt;Cheers&lt;/p&gt;
 </description>
     <pubDate>Sat, 20 Sep 2008 19:11:57 +0000</pubDate>
 <dc:creator>greg</dc:creator>
 <guid isPermaLink="false">comment 1233657 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title>Wouldn&#039;t you just</title>
    <link>https://www.webmaster-forums.net/html-css-and-javascript/css-ulli-help-needed#comment-1233641</link>
    <description> &lt;p&gt;Wouldn&#039;t you just change:&lt;/p&gt;
&lt;p&gt;&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#main_nav li:hover a, #main_nav a:hover{&lt;br /&gt;background-position: 0 50px;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
to&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#main_nav li:hover a, #main_nav a:hover, #main_nav li a.current {&lt;br /&gt;background-position: 0 50px;&lt;br /&gt;}&lt;/code&gt;&lt;/div&gt;&lt;br /&gt;
Then change the HTML to mark the current page using a class:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;&amp;lt;ul id=&amp;quot;main_nav&amp;quot;&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;home.php&amp;quot; class=&amp;quot;home current&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;nbsp; &amp;lt;li&amp;gt;&amp;lt;a href=&amp;quot;contact.php&amp;quot; class=&amp;quot;contact&amp;quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/li&amp;gt;&lt;br /&gt;&amp;lt;/ul&amp;gt;&lt;/code&gt;&lt;/div&gt;&lt;/p&gt;
&lt;p&gt;Or am I missing something?&lt;/p&gt;
 </description>
     <pubDate>Sat, 20 Sep 2008 08:50:45 +0000</pubDate>
 <dc:creator>JeevesBond</dc:creator>
 <guid isPermaLink="false">comment 1233641 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
