freaker87 Posted April 10, 2012 Share Posted April 10, 2012 what is the css of active link like when somebody goes to ABOUT US page then about us color changed to red.... then going to CONTACT US page then about us color change to default and CONTACT US color change to red.... plz help i am new designer...... thnx Quote Link to comment https://forums.phpfreaks.com/topic/260668-what-is-the-css-code-of-active-link/ Share on other sites More sharing options...
caliux Posted April 10, 2012 Share Posted April 10, 2012 For example <ul id="topnav"> <li><a href="index.php" style="background:red"><span>Home</span></a> <li><a href="menu.php"><span>Our Menu</span></a> <li><a href="locations.php"><span>Locations</span></a> <li><a href="about.php"><span>About Us</span></a> Quote Link to comment https://forums.phpfreaks.com/topic/260668-what-is-the-css-code-of-active-link/#findComment-1335996 Share on other sites More sharing options...
freaker87 Posted April 10, 2012 Author Share Posted April 10, 2012 i want to do this in css like a:hover or a:active Quote Link to comment https://forums.phpfreaks.com/topic/260668-what-is-the-css-code-of-active-link/#findComment-1336002 Share on other sites More sharing options...
caliux Posted April 10, 2012 Share Posted April 10, 2012 Active means when user clicks a link Quote Link to comment https://forums.phpfreaks.com/topic/260668-what-is-the-css-code-of-active-link/#findComment-1336012 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.