Arne: Links definieren innerhalb des BODY

Beitrag lesen

Hallo!

WIe wäre es mit classes?

<style type="text/css">
<!--
 a.erstertyp:link { text-decoration:none; font-weight:normal; color:#E80000; font-size=125% }
 a.erstertyp:visited { text-decoration:none; font-weight:normal; color:#E80000; font-size=125% }
 a.erstertyp:hover { text-decoration:none; font-weight:bold; color:#FF3C3C; font-size=125% }
 a.erstertyp:active { text-decoration:none; font-weight:bold; color:#E80000; font-size=125% }

a.zweitertyp:link { text-decoration:none; font-weight:normal; color:#C0C0C0; font-size=100% }
 a.zweitertyp:visited { text-decoration:none; font-weight:normal; color:#C0C0C0; font-size=100% }
 a.zweitertyp:hover { text-decoration:none; font-weight:bold; color:#FFFFFF; font-size=100% }
 a.zweitertyp:active { text-decoration:none; font-weight:bold; color:#C0C0C0; font-size=100% }
-->
</style>

Der aufruf erfolgt dann über:

<a class="erstertyp" href="..."></a>

und

<a class="zweitertyp" href="..."></a>

GRuß,
Arne.