php? Posted January 2, 2008 Share Posted January 2, 2008 Finally topic solves Link to comment https://forums.phpfreaks.com/topic/84015-solved-help-with-site-nav/page/2/#findComment-427921 Share on other sites More sharing options...
dipp02 Posted January 2, 2008 Author Share Posted January 2, 2008 Malevolence - if you get a chance. i had to delete my a: a:hover etc because it was applying that to my nav. I got it all fixed up now. But i would like to do a hover over on the footer. basically i was reading on multiple hover links but what i was doing wasnt working. i was making the class="footer". like this: <div align="center"><a href="terms.php"><span class="footer">Terms Of Service</span></a></div> and in styles.css i put a.footer:hover { font-family: Calibri, Verdana, Arial, Helvetica, sans-serif; color: #ECC653; font-size: 11px; font-weight:bold; text-decoration: none; } .footer{ font-family: Calibri, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight:bold; color:#FFFFFF; } it doesnt hover over, it only changes it to white. text. here is what i got so far with the working css nav. www.dbhosts.net/test/ Link to comment https://forums.phpfreaks.com/topic/84015-solved-help-with-site-nav/page/2/#findComment-428033 Share on other sites More sharing options...
dipp02 Posted January 2, 2008 Author Share Posted January 2, 2008 Thanks again Link to comment https://forums.phpfreaks.com/topic/84015-solved-help-with-site-nav/page/2/#findComment-428042 Share on other sites More sharing options...
Malevolence Posted January 2, 2008 Share Posted January 2, 2008 Yep. Your problem there is that you put the hyperlink OUTSIDE the <span></span> tags so it doesn't recognize them. You also did the CSS titles the wrong way round and forgot to put an a next to the non-hover state. Here is the footer code: <div align="center"><span class="footer"><a href="terms.php">Terms Of Service</a></span></div> And here's the styles.css: .footer a:hover { font-family: Calibri, Verdana, Arial, Helvetica, sans-serif; color: #ECC653; font-size: 11px; font-weight:bold; text-decoration: none; } .footer a{ font-family: Calibri, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; font-weight:bold; color:#FFFFFF; } If you need any other help with your site I'm usually available. I'm fairly skilled in HTML & CSS and I know my fair share of PHP and JS. All the best luck to your site, Dan. Link to comment https://forums.phpfreaks.com/topic/84015-solved-help-with-site-nav/page/2/#findComment-428349 Share on other sites More sharing options...
dipp02 Posted January 2, 2008 Author Share Posted January 2, 2008 Thanks again for all the help! Link to comment https://forums.phpfreaks.com/topic/84015-solved-help-with-site-nav/page/2/#findComment-428761 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.