Thomas: Zweimal a:hover defineren?

Beitrag lesen

Hallo,

klappt nicht ganz...

ich habe jetzt folgenden Sourcecode

.bodytext {
 font-family: Arial, Helvetica, sans-serif;
 font-size: 1em;
 color: #000000;
 line-height: 1.4em;
 margin-left: 70px;
 margin-right: 35px;
}

a.bodytext:hover {
 text-decoration: underline;
 color: #FF0000;
}

und

<span class="bodytext"><a href="http://www.xyz.com/">Weiter</a></span>

Geht aber nicht.

mfg, Thomas