Heinz: Es ist nicht mehr lustig

Beitrag lesen

Guten Tag,

wenn ich mit der Maus über die Tabellenzeile fahre verändert sie ihre Farbe. Wenn ich wieder raus gehe bleibt die neue Farbe trotzdem.
Vorher hat alles wunderbar funktioniert.
Seitdem ich Templates benutze haut es nicht mehr hin:

<table width="100%" border="0" cellspacing="0" cellpadding="5" bgcolor="#e2e2e2">
   {section name=i loop=$menuItems}
    <tr onMouseover="this.style.background='#ffffff'" onMouseout="this.style.background='e2e2e2'">
     <td valign="top" style="border-bottom-width:1px; border-bottom-style:dotted; border-color:#e2e2e2;
      border-left-width:1px; border-left-style:solid; border-color:#ff0000;">
      <img src="../images/arrowdown.gif" alt="arrowdown.gif" />
  </td>
     <td style="border-bottom-width:1px; border-bottom-style:dotted; border-color:#e2e2e2;">
      <a href="{$file}?option={$menuItems[i].id}#result">{$menuItems[i].trans}</a>
  </td>
 </tr>
   {/section}

</table>

Oder stimmt was nicht mit der Syntax?

Danke