css hover effekt geht nicht...warum?
Ich bin gerade am html/css/php lernen und bin auf ein total simples Problem gestoßen, welches ich aber bei bestem willen nicht gelöst bekomme.
Die Pseudoklasse :hover will einfach nicht tun....
Das ist die style.css.
.navigation_schrift{
display:block;
float:left;
text-align: center
font-family: courir;
font-size:150%;
width: 100%;height:40px;
color: red;
background-image: url("../images/aquabutton1.gif");
margin: 0px 0px 3px 0px;
text-decoration:none;
}
.navigation_schrift:hover{
color: green;
}
und so wird das ganze aufgerufen:
TesttextAlles andere was ich über CSS mache funktioniert einwandfrei (wenn ich es richtig gemacht habe :D)
Warum wechselt die Schriftfarbe bei mouseover nicht auf grün?
Ich habe sowohl Firefox 5.0.1 als auch IE9 versucht...
Gruß BluBb_mADe
HTML,
Webseite,
programmieren,
CSS,
Webdesign