i'm going deliver website school-project tomorrow , while i'm going on bugs found out increase level of user-friendliness should change color of active page in header.
i know how can in basic html-site, i've used asp.net master-page , after understand bit different time since not have access links other stylesheets masterpage.css
so simplify question:
i got a:hover on links change color when hover on them, want link of active page in color show user @ times (not a:visited).
here code:
<nav class="navmain"> <ul> <li><a class="a_home" href="default.aspx">hjem</a></li> <li><a href="kampanje.aspx">om konkurransen</a></li> <li><a href="default.aspx"><img id="navpic" src="pictures/header/munch150.png" alt="munch logo" /></a></li> <li><a href="bildegalleri.aspx">bidrag</a></li> <li><a href="infoside.aspx">om oss</a></li> </ul> </nav>
and css:
.navmain { position: relative; bottom: 43px; right: 80px; height: 25px; width: 1000px; z-index: 100;
}
.navmain #navpic { position: relative; top: 93px; width: 120px; height: 125px; } .navmain { text-decoration: none; color: black; font-size: 1.5em; } .navmain a:hover { color: rgb(255, 255, 255); } .navmain li { list-style: none; display: inline; padding-left: 5em; } .navmain ul { width: 1000px; }
hoping fast response, thanks!
use css
a:active { color: #666666; }
Comments
Post a Comment