Style nur für bestimmten Bereich
Verfasst: 25.04.2006 17:29
Ich möchte folgenden Style
Nur für die obere Reihe Links eines HTML-Dokuments verwenden. Wie kann ich das machen, dass nicht alle Links auf der Seite den Style abbekommen?
Code: Alles auswählen
<style type="text/css">
a:link { text-decoration:none; font-weight:bold; color:#e00000; }
a:visited { text-decoration:none; font-weight:bold; color:#800000; }
a:hover { text-decoration:none; font-weight:bold; background-color:#ff0; }
a:active { text-decoration:none; font-weight:bold; background-color:#cff; }
a:focus { text-decoration:none; font-weight:bold; background-color:#080; }
</style>