Der Martin: Links & Unterstrich

Beitrag lesen

Hallo Raphael,

<style type="text/css">
a:link { text-decoration:none; color:#A33D00;}
a:visited { text-decoration:none; color:#A33D00;}
a:hover { text-decoration:none; color:#E70818;}
a:active { text-decoration:none; color:#784E00;}
a:focus { text-decoration:none; color:#E70818;}
body { background-image:url(wallpaper.gif);}
</style>

Das ist meine css Datei...

das ist *wirklich* deine separate, extern eingebundene CSS-Ressource?
Dann ist mir klar, warum du nicht das gewünschte Ergebnis bekommst. Denn

<style type="text/css"> a:link

ist einfach kein gültiger CSS-Selektor, die folgende Regel wird also ignoriert. Die einleitenden und abschließenden <style>-Tags haben in einer externen CSS-Datei nichts verloren!

Gute Nacht,
 Martin

--
Zum Glück ist alles nur halb so doppelt.