Hi guys, I am having some problems with my CSS menu. I have been trying to figure out, but have not been successful in doing this. I have a CSS menu here www.megavideos.in (by default the highlighted tab is HOME). i would like to make the code in such a way that ff the user clicks on other tabs that particular tab should be highlighted . <table> <tr align="center"> <td><div id="tabs1"> <ul> <!-- CSS Tabs --> <li id="current"><a href="{$baseurl}/index.php"><span>HOME</span></a></li> <li><a href="{$baseurl}/upload.php"><span>UPLOAD</span></a></li> <li><a href="{$baseurl}/recent/"><span>WATCH</span></a></li> <li><a href="{$baseurl}/tags.php"><span>TAGS</span></a></li> <li><a href="{$baseurl}/channels.php"><span>CHANNELS</span></a></li> <li><a href="{$baseurl}/groups.php"><span>GROUPS</span></a></li> <li><a href="{$baseurl}/friends.php"><span>FRIENDS</span></a></li> <li><a href="http://reviews.megavideos.in"><span>REVIEWS</span></a></li> <li><a href="http://reviews.megavideos.in/category/bollywood-radio/"><span>MEGA RADIO</span></a></li> </ul> </div></td> </tr> </table> Code (markup): I hope i have been successful on explaining what problem i have. help will be highly appreciated. cheers nirav
Hey Nirav, if I were you I would create an if statement in the php code. If the $_SERVER['REQUEST_URI'] variable is identical with the actualpage.php the script would print an additional class, which style could be controlled by css.