Daniel Thoma: onmouseover über celle, text verändern mit glow

Beitrag lesen

Hallo lululu

Vielleicht geht es so:

a:hover { width:100%; height:100%; display:block; filter:Glow(color:red, strength:4); }

Nu dachte ich mir, dass man es so machen könnte, so gehts aber nicht:
<a href=""><td onmouseover="width:100%; this.document.all.filter:Glow(color=red, strength=5)" onmouseout="...">Hallo!
</td></a>

Der Code ist auch eine totale Katastrophe. Was soll das <a> da außen um <td>? Und das, was da in onmouseover="" steht, ist wohl eine ziemlich unglückliche Kreuzung aus JS und CSS.

Gehen würde vielleicht folgendes:
<td onmouseover="this.style.filter='Glow(color=red, strength=5)'" onmouseout="this.style.filter='none'">Hallo!
</td>

filter ist natürliche eine MS-"Inovation". Du solltest Dich da vielleicht besser für einen Effekt entscheiden, der in allen (standardkonformen) Browsern funktioniert.

Grüße

Daniel