ich hab bei
diesem projekt folgendes problem:
die nav-leiste wurde mit css formatiert, nur funktioniert der hover effekt(gelbe schrift, roter hintergrund) nur wenn die seite neu geladen wird. sobald ein link besucht wurde bleibt die schrift beim hover-effekt rot!?!?
irgendwelche tipps was ich falsch mache?
Code:
#nav {
top: 110px;
left: 5px;
position: absolute;
z-index: 99;
}
#nav a:link {
display: block;
width: 100%;
color: #FF0000;
text-decoration: none;
}
#nav td:hover {
background-color: #F00000;
text-decoration: none;
}
#nav a:hover {
display: block;
width: 100%;
color: #FFFF00;
background-color: #F00000;
text-decoration: none;
}
#nav a:visited {
color: #FF0000;
text-decoration: none;
}
#nav a:active {
color: #FF0000;
text-decoration: none;
}