moin leute ich hab folgendes problem , ich wollte ein onmouseover ausprobieren, welches die feldfarbe einer tabelle ändern soll. Leider funktioniert das nich so wie ich will...
woran liegts????
hier mein quelltext:
------------------------------------------------------------------------------------
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Unbenanntes Dokument</title>
<style type="text/css">
<!--
body,td,th {
color: #000000;
}
body {
background-color: #CBCBCB;
background-image: url(res/bg.gif);
background-repeat: repeat-x;
}
-->
</style></head>
<body>
<table width="100%" height="695" border="0">
<tr>
<td width="20%" height="64"> </td>
<td width="60%" colspan="5"> </td>
<td width="20%"> </td>
</tr>
<tr>
<td height="144"> </td>
<td colspan="5"> </td>
<td> </td>
</tr>
<tr>
<td height="52"> </td>
<td bgcolor="#666666" onmouseover="bgcolor='#959595'" onMouseout="bgcolor='#666666'">Hallo</td>
<td bgcolor="#666666"> </td>
<td bgcolor="#666666"></td>
<td bgcolor="#666666"> </td>
<td bgcolor="#666666"> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td colspan="5" bgcolor="#959595">Willkommen auf meiner seite.</td>
<td> </td>
</tr>
</table>
</body>
</html>