Links definieren innerhalb des BODY
Patrick Stadelhofer
- css
0 Linksetzer0 Arne
Hi.
Ich würde gerne die Linkdefinierung für das ganze Dokument:
<style type="text/css">
<!--
a:link { text-decoration:none; font-weight:normal; color:#E80000; font-size=125% }
a:visited { text-decoration:none; font-weight:normal; color:#E80000; font-size=125% }
a:hover { text-decoration:none; font-weight:bold; color:#FF3C3C; font-size=125% }
a:active { text-decoration:none; font-weight:bold; color:#E80000; font-size=125% }
-->
</style>
für einige bestimmte Links in:
<style type="text/css">
<!--
a:link { text-decoration:none; font-weight:normal; color:#C0C0C0; font-size=100% }
a:visited { text-decoration:none; font-weight:normal; color:#C0C0C0; font-size=100% }
a:hover { text-decoration:none; font-weight:bold; color:#FFFFFF; font-size=100% }
a:active { text-decoration:none; font-weight:bold; color:#C0C0C0; font-size=100% }
-->
</style>
ändern.
CU
Patrick
Ich würde gerne die Linkdefinierung für das ganze Dokument:
für einige bestimmte Links in:
ändern.
http://selfhtml.teamone.de/navigation/faq.htm#abweichende_verweisfarben
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.