Problem mit .a

Status
Nicht offen für weitere Antworten.

alex130

Erfahrenes Mitglied
Hi
Ich hab ein Problem und zwar werden meine Links erst angezeigt, nachdem ich sie angeklickt habe....
Hier mein CSS Code, ich hoffe ihr könnt mir helfen:
HTML:
a:link, a:visited, a:active {
font-size: 12px;
color : #000000;
font-weight : bold;
text-decoration: underline;
}

a:hover {
font-size: 12px;
 color: #000000;
 font-weight : bold;
 text-decoration: none;
}
Thx
 
Hi,

ich kann da in dem Stylesheet keinen Fehler ausmachen, und wenn ich es in ein Testdokument einfüge, werden die Links auch gleich angezeigt.

Kann man sich die Seite mal "live" anschauen?
 
Code:
#content {
background-color: #FFFFFF;
width: 600px;
min-height: 450px;
border: 1px solid black;
margin-bottom: 5px;
padding: 20px;
padding-right: 20px;
color: #000000;
}


#content a:link {
font-size: 12px;
color : #FFFFFF;
font-weight : bold;
text-decoration: underline;
}
Noch Fragen? ;-]

Zudem solltest du die Pseudoklassen in der richtigen Reihenfolge notieren:

Code:
a:link { }
a:visited { }
a:hover { }
a:active { }
und bei den übrigen drei auch die ID #content vorne anstellen.
 
Status
Nicht offen für weitere Antworten.
Zurück