Moin, Moin,
hi,
Ich moechte gerne auf verschiedenen Hintergruenden (blau und gelb) Textlinks setzen, folglich in weiss und dunkelblau.
im kopfteil:
<style type="text/css">
<!--
a.blau:link { color:#0000FF; }
a.blau:visited { color:#0000FF; }
a.blau:hover { color:#FF0000; text-decoration:none; }
a.blau:active { color:#0000FF; }
a.weiss:link { color:#FFFFFF; }
a.weiss:visited { color:#FFFFFF; }
a.weiss:hover { color:#00FF00; text-decoration:none; }
a.weiss:active { color:#FFFFFF; }
-->
</style>
einbindung in html code:
<a href="#" class="blau"> textlink </a>
<a href="#" class="weiss"> textlink </a>
nag