shiggyshag
Programmer
Hi
I have a a table (see Below) which on mouse over changes the Background Colour but how do I also change the font colour.
Any Ideas please
Cheers
<html>
<title>Hightlight Row</title>
<body bgcolor="#FFFFFF">
<table border=1 align=center>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>1938</td>
<td align=right>Detroit</td>
<td align=right>.315</td>
<td align=right>556</td>
<td align=right>144</td>
<td align=right>175</td>
<td align=right>23</td>
<td align=right>4</td>
<td align=right>58</td>
<td align=right>146</td>
<td align=right>119</td>
<td align=right>92</td>
<td align=right>7</td>
</tr>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>1939</td>
<td align=right>Detroit</td>
<td align=right>.312</td>
<td align=right>500</td>
<td align=right>112</td>
<td align=right>156</td>
<td align=right>42</td>
<td align=right>7</td>
<td align=right>33</td>
<td align=right>112</td>
<td align=right>91</td>
<td align=right>95</td>
<td align=right>8</td>
</tr>
</table>
I have a a table (see Below) which on mouse over changes the Background Colour but how do I also change the font colour.
Any Ideas please
Cheers
<html>
<title>Hightlight Row</title>
<body bgcolor="#FFFFFF">
<table border=1 align=center>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>1938</td>
<td align=right>Detroit</td>
<td align=right>.315</td>
<td align=right>556</td>
<td align=right>144</td>
<td align=right>175</td>
<td align=right>23</td>
<td align=right>4</td>
<td align=right>58</td>
<td align=right>146</td>
<td align=right>119</td>
<td align=right>92</td>
<td align=right>7</td>
</tr>
<tr onMouseOver="this.bgColor = '#C0C0C0'" onMouseOut ="this.bgColor = '#FFFFFF'" bgcolor="#FFFFFF">
<td align=right>1939</td>
<td align=right>Detroit</td>
<td align=right>.312</td>
<td align=right>500</td>
<td align=right>112</td>
<td align=right>156</td>
<td align=right>42</td>
<td align=right>7</td>
<td align=right>33</td>
<td align=right>112</td>
<td align=right>91</td>
<td align=right>95</td>
<td align=right>8</td>
</tr>
</table>