Link in Tabelle mit CSS verändern
-
Moin,
Ich habe in einem HTML-Quellcode eine Tabelle und darin einen Link:
<table> <tr> <td> <a href="index.html">Ein Link</a> </td> </tr> </table>
Jetzt wollte ich die Eigenschaften des Links über CSS verändern:
<head> <style type="text/css"> <!-- a:hover {color: #FFFFFF; text-decoration: underline;}; a:link {color: #FFFFFF; text-decoration: none;}; --> </style> </head>
Aber es zeigt sich keinerlei Wirkung. Kann mir jemand sagen was ich falsch mache?
Vielen Dank für Antworten!
-
Hallo,
nicht
a:hover {color: #FFFFFF; text-decoration: underline;}; a:link {color: #FFFFFF; text-decoration: none;};
sondern
a:hover {color: #FFFFFF; text-decoration: underline;} a:link {color: #FFFFFF; text-decoration: none;}
-
Oh, ok, danke.
So in dem Sinne funktionierts jetzt auch.