CSS- links unterstrichen bei Java Script

Status
Nicht offen für weitere Antworten.

Glass

Grünschnabel
Hallo,

bin ein CSS Anfänger und habe auf meiner Seite http://xzet.ice-server.de/mainpage.php
folgende CSS datei im einsatz:

<style type="text/css">
a:link {text-decoration:none;color:FFFFFF; }
a:active {text-decoration:none;color:FFFFFF; }
a:visited {text-decoration:none;color:FFFFFF; }
a:hover {text-decoration:none;color:FFFFFF; }



a.latest:link {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}
a.latest:active {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}
a.latest:hover {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}
a.latest:visited {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}

a.normal:link {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}
a.normal:active {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}
a.normal:hover {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}
a.normal:visited {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}
</style>


diese habe ich so eingebunden:
<link rel="stylesheet" href="data/xzet.css" type="text/css">

das linke menü ist ein javascript fade script.

jetzt habe ich das problem, dass ich die Verknüpfungen auf der linken seite nicht unterstrichen haben will. Das macht der Browser aber nur, wenn ich den link schonmal besucht habe.

Vielen Dank für Eure Hilfe!
 
Die Links haben ja uach eine Class (-> fade). Dann mach doch einfach:
PHP:
a.fade:visited {text-decoration:none;color:FFFFFF; FONT-FAMILY: Tahoma;}

bye
 
Status
Nicht offen für weitere Antworten.

Neue Beiträge

Zurück