Hallo,
ich habe da ein Problem, ich moechte die Linkfarbe von eine bestimmte Tabellenzeile verändern. Das Beispiel darunter zeigt eine Tabelle, die durch onmouseover die Tabellezeile und Textfarbe veraendert. Mein Problem ist, dass die Linkfarbe sich nicht verändert. Hat jemand eine Idee? Habe auch schon mit javascript linkColor probiert, funktionierte irgendwie nicht.
Waere sehr dankbar, wenn jemand eine Idee hat.
Gruss
Phong
<style type="text/css">
a { text-decoration:none; color:blue }
.hover { background-color:blue; color:white }
.normal { background-color:white; color:black }
</style>
<table border=1>
<colgroup>
<col width="50">
<col width="50">
</colgroup>
<tr onmouseover="this.className='hover'" onmouseout="this.className='normal'">
<td><a href="">a1</a></td>
<td>b1</td>
</tr>
<tr onmouseover="this.className='hover'" onmouseout="this.className='normal'">
<td><a href="">a2</a></td>
<td>b2</td>
</tr>
<tr onmouseover="this.className='hover'" onmouseout="this.className='normal'">
<td><a href="">a3</a></td>
<td>b3</td>
</tr>
</table>