Jump to content

CSS link highlighting not working...possible Class/ID conflict?


nerotic

Recommended Posts

Hi folks,

 

On: http://nerotic.net/aux/

 

I'm using CSS to turn navigation red to indicate location and it's always worked in the past...but now it's not and I have no idea why.

 

 

Here's the code I'm using (no comments about the <br />, that's going to be changed later on)

 

<table width="185">
  <tr>
<td width="40" height="510"></td>
<td width="105"  height="510"align="center" valign="middle">
  	  <a href="index.php?page=soundwhy"  class="lnav" id="soundwhynav">why<a/><br /><br /><br />
  <a href="index.php?page=soundhow" id="soundhownav" class="lnav">how<a/><br /><br /><br />
  <a href="index.php?page=soundwhat" id="soundwhatnav" class="lnav">what<a/><br /><br /><br />
  <a href="index.php?page=soundwhere" id="soundwherenav" class="lnav">where <a/><br /><br /> <br />
  <a href="index.php?page=soundwho" id="soundwhonav" class="lnav">who<a/>
</td>
<td width="40" height="510" style="border-right: solid gray 0px;"></td>
  </tr>
</table>

 

and this is my CSS:

body#soundwhy a#soundwhynav,
body#soundhow a#soundhownav,
body#soundwhat a#soundwhatnav,
body#soundwhere a#soundwherenav,
body#soundwho a.lnav#soundwhynav,
{ 	color:#E3170D;  }

 

As you can see I've tried reordering the elements (as silly as it might seem but nada.

 

I also can't style the links by placing the class="lnav" in the <table> or <td> tag and have no idea why that doesn't want to take now.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.