well I gave up on the hover role and just put in some php code to swap out the orange for the grey square if the navigation link was the current page. Would still like the hover, but not going to beat myself up over it. If I get time to come back to it I will. If anyone has a good solutions let me know.
basically I realized that i needed to break the image class and the link class into separate classes instead of trying to keep them as 1. This allowed me to get the images looking right, but for some reason I still cant get the hover to work.
current code
Code:
echo "<tr height=\"25\"><td width=\"300\"> </td><td align=\"left\" class=\"NavbarS\" valign=\"middle\"><a href=\"".$nav1['nav1_path']."\"".$relative." class=\"navlink\">".$nav1['nav1_title']."".$arrow."</a></td></tr>\n";
current css
Code:
.Navbar { color: #000000; font-size: 10pt; font-family: Tahoma; text-decoration: None; background-image: url(navlink_bg.jpg); height:25px; }
.NavbarS { color: #000000; font-size: 10pt; font-family: Tahoma; text-decoration: None; background-image: url(navlink_hover.jpg); height:25px; }
.Navlink { color: #000000; font-size: 10pt; font-family: Tahoma; text-decoration: None; padding:0 0 0px 15px; vertical-align:top}
Bookmarks