Pisząc arkusz styli, napotkałem dziwny problem.
Otórz chcąc napisać coś takiego, chciałem, żeby link klasy gen_text_white po najechaniu myszką kolorował się na czarno, a ogólnie link tej klasy był czerwony. I oto mój kod CSS:
Cytat
.gen_text_white {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;
text-decoration: none;
}
a.gen_text_white { text-decoration: none; color : red; }
a.gen_text_white:hover { text-decoration: underline; color : #000000; }
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
color: #FFFFFF;
text-decoration: none;
}
a.gen_text_white { text-decoration: none; color : red; }
a.gen_text_white:hover { text-decoration: underline; color : #000000; }
I dlaczego mi to nie działa?