Hallo,
ich habe innerhalb eines Textes einen Link zu einer externen Seite. Nun habe ich folgende Ausgabe:
<p class="text">Hier steh ein Text und so weiter. Dann kommt dieser Link zur Seite <a href="http://www.externeseite.de" target="_blank">www.externeseite.de</a>. Und hier steht wieder normaler Text.</p>
Dieser Link wird mir aber nicht als formatierter Link ausgegeben sondern erscheint wie der Text.
Die CSS dazu sieht so aus:
a:link { color: #5273c4; text-decoration: underline }
a:hover { color: #5273c4; text-decoration: underline }
a:visited { color: #5273c4; text-decoration: underline }
a:active { color: #5273c4; text-decoration: underline }
.text {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #707070; text-decoration:none;}
.text a:link {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #707070; text-decoration:underline;}
.text a:visited {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #707070; text-decoration:none;}
.text a:hover {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #707070; text-decoration:none;}
.text a:active {font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #707070; text-decoration:none;}
Wie muss ich es denn nun richtig formatieren?