Mehrere Links in einem Dokument unterschiedlich formatieren
compi
- css
0 toby0 Bio0 Michael Jendryschik
Hi,
ich habe folgende Frage:
Kann ich in einer HTML-Datei unterschiedliche Links unterschiedlich formatieren?
Ich habe z.B. im <head> einer HTML-Datei folgenden CSS-Stylebereich:
<!-------------------------------------------------------->
<style type="text/css">
<!--
a:visited { color:#4682B4; text-decoration:none; font-weight:bold }
a:link { color:#4682B4; text-decoration:none; font-weight:bold }
a:hover { color:#B0C4DE; text-decoration:none; font-weight:bold }
a:actived { color:#4682B4; text-decoration:none; font-weight:bold }
-->
</style>
<!-------------------------------------------------------->
Diese Formatierungen gelten ja jetzt aber für ALLE links im Dokument.
Wie kann ich bestimmte Links im Dokument anders formatieren??
Vielen Dank schon mal im voraus,
flo
Wie kann ich bestimmte Links im Dokument anders formatieren??
da haste ja mal ausführlich recherchiert. hut ab. die frage ist noch keine 24 stunden her...
toby
Sup!
Gruesse,
Bio
Kann ich in einer HTML-Datei unterschiedliche Links unterschiedlich formatieren?
Ja, siehe http://jendryschik.de/wsdev/einfuehrung/css/pseudoklassen.html#linkzustaende.
MI