nerotic Posted July 4, 2010 Share Posted July 4, 2010 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. Quote Link to comment https://forums.phpfreaks.com/topic/206694-css-link-highlighting-not-workingpossible-classid-conflict/ Share on other sites More sharing options...
nerotic Posted July 4, 2010 Author Share Posted July 4, 2010 Extra comma in the css before the {} Will do it every time. Quote Link to comment https://forums.phpfreaks.com/topic/206694-css-link-highlighting-not-workingpossible-classid-conflict/#findComment-1080999 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.