So I have a navigation bar on my PHP site, I have made it such that the links change color on hover using CSS, but how do I make it highlight the link that corresponds to the page that the user is currently on? For example if I'm on www.mysite.com/contact.htm I would like the 'Contact' link to be highlighted. I beleive this needs to be done in the PHP code rather than CSS.
<? $page=strtolower($_SERVER["REQUEST_URI"]); if($page=='/contact.htm'){ echo '<div id="highlighcss">Contact US</div>'; }elseif(... ... . . } ?>