Harald Legler: zwei unterschiedliche Linkfarben festlegen

Beitrag lesen

Hallo,

Du kannst eine Klasse definieren, welche einfach nur eine andere Linkfarbe hat.

a:link {color:#5994CF; text-decoration:none;}
a:hover {text-decoration:underline; font-weight:bold; color:#ff0000;}
a:visited {color:#cccccc; text-decoration:none;}
a:active { font-weight:bold; color:#0000ff; text-decoration:underline }
a:focus { font-weight:bold; color:#00E000; text-decoration:underline }
.anders {font-weight:bold; color:#ffffff; text-decoration:underline;}

Aufruf dann mit <a class="anders" href="wasauchimmer.html">...

Gruß

Harald