Pseudoformate
Carl
- css
Hallo
irgendwie bekomme ich das mit den Pseudoformaten nicht so richtig hin.
Ich habe folgende Definition für eine Tabellenzelle:
.navbar1
{
font-family: Georgia, "Times New Roman", Times, serif;
font-size: 12px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #BB9919;
background-color: #001F4F;
background-image: none;
padding: 3px;
}
jetzt wollt ich, dass sich die Zelle beim Mouse-over färbt, sich also der Hintergrund ändert. Habs auf 2 weisen probiert, aber keine klappt:
a.navbar1:hover
{
color: #FFFFFF;
background-color: #004444;
}
navbar1:hover
{
color: #FFFFFF;
background-color: #004444;
}
Es klppt weder, wenn ein Link in der Zelle ist noch wenn keiner drin ist.
Hat jemand eine Idee, was ich da falsch mache?
Gruss
Carl
hi
vergesst es, ich habs ;)
Gruss
Carl
Hallo ,
vergesst es, ich habs ;)
Glückwunsch :-)
Grüße
Jeena Paradies