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.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.