|
|||
![]()
ich bin was CSS betrifft noch ein Anfänger und habe jetzt eine Seite gebastelt in der meine Hyperlinks verschiedene Zustände haben.
also hier mal dass CSS a:link { color : #999999; } a:active { color: #999999; } a:visited { color : #006699; } a:hover { text-decoration: none; color : #A1A89A; } Das ganze funktioniert auch ganz gut. Dummerweise soll das aber nicht auf alle Links auf meiner Seite zutreffen. Kann man für spezielle Links auch andere Zustände festlegen? |
Sponsored Links |
|
|||
![]() Zitat:
Code:
a:link , a:active , a:visited { color : #006699; } a:hover { text-decoration: none; color : #A1A89A; } ![]() Code:
/* CSS-Klasse für Hyperlinks */ .speciallink { color: #FF0000; } a.speciallink:link , a.speciallink:active , a.speciallink:visited { color: #FF0000; } a.speciallink:hover { color: #2323CE; } tricky |
Sponsored Links |
|
|||
![]()
hallo tricky,
vielen Dank für Deinen Tipp. Habe diese Klasse genauso wie Du oben beschrieben hast benutzt. Trotzdem werden alle Links mit dieser Formatierung angezeigt. a:link , a:active , a:visited { color : #006699; } a:hover { text-decoration: none; color : #A1A89A; } Irgendwie scheint die Klasse nicht zu funktionieren. |
|
|||
![]() Zitat:
Code:
<html> <head> <title>links</title> <style> <!-- a:link , a:active , a:visited { color : #006699; } a:hover { text-decoration: none; color : #A1A89A; } .speciallink { color: #CC0000; } a.speciallink:link , a.speciallink:active , a.speciallink:visited { color: #FF0000; } a.speciallink:hover { color: #2323CE; } --> </style> </head> <body> Link Normal </p> Link Special</p> </body> </html> |
![]() |
Themen-Optionen | |
Ansicht | |
|
|
![]() |
||||
Thema | Autor | Forum | Antworten | Letzter Beitrag |
Costum Cursor für verschiedene Thumbs | rrot | CSS | 1 | 29.08.2016 09:12 |
verschiedene Browsern, verschiedene layouts | parwaneh | CSS | 8 | 09.10.2011 18:34 |
Layoutcheck für verschiedene Browser | opa-rudi | Site- und Layoutcheck | 5 | 11.04.2008 12:24 |
Verschiedene Hintergundbilder bei Unterseiten | umme | CSS | 8 | 21.02.2008 19:08 |
Verschiedene Regeln für verschiedene Links | Philippp | CSS | 2 | 16.10.2004 02:00 |