Hallo,
Ich habe in einer CSS-Datei folgenden Code:
Nun binde ich diese Datei in ein html-Dokument ein:
Alles funktionert, außer eins:
Wenn ich einen Link erstelle, der noch nicht aufgerufen wurde (nicht visited) bleibt immer noch der Standard Link (also blau und unterstrichen) obwohl ich ihn doch umdefiniert habe.... ich weiß nicht warum... kann mir da jemand helfen?
Danke, Morpheus
Ich habe in einer CSS-Datei folgenden Code:
Code:
<style>
a:link { color: #000000; text-decoration: none; font-family: Arial; font-size: 14px; font-style: normal; font-weight: bold;
}
a:visited {
color: #838383;
text-decoration: none;
font-family: Arial;
font-size: 14px;
font-style: normal;
font-weight: bold;
}
a:hover {
color: #454545;
font-family: Arial;
font-size: 14px;
font-style: normal;
font-weight: bold;
}
a:active {
color: #FF0000;
text-decoration: none;
font-family: Arial;
font-size: 14px;
font-style: normal;
font-weight: bold;
}
</style>
Nun binde ich diese Datei in ein html-Dokument ein:
Code:
<link rel="stylesheet" type="text/css" href="css/style2.css" />
Alles funktionert, außer eins:
Wenn ich einen Link erstelle, der noch nicht aufgerufen wurde (nicht visited) bleibt immer noch der Standard Link (also blau und unterstrichen) obwohl ich ihn doch umdefiniert habe.... ich weiß nicht warum... kann mir da jemand helfen?
Danke, Morpheus