Hallo alle zusammen. Ich habe einmal eine Frage, da ich in CSS nur die Grundprinzipien weiß und somit nicht weiter komme.
Ich habe in einer externen css datei die link farbe verändert:
PHP:1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| a:link {
color: #003366;
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #003366;
}
a:hover {
text-decoration: underline;
color: #0099CC;
}
a:active {
text-decoration: none;
color: #00FF33;
} |
gut, allerdings ist nun mein problem, das 2 links anders aussehen müssten, das heißt andere farben bei link; hover und active... wie kann ich nun einem link eine andere klasse zuweisen als die, die standard definiert ist?
ich hoffe ihr wisst was ich meine
Vielen dank im voraus
mfg mäc