Hallo Struppi,
<td id="Zelle1" style="position:relative" bgcolor="#2C4F90">
Netscape 4.x (von dem du wahrscheinlich sprichst), kann Layer nur mit JS ansprechen, wenn sie absolut positioniert sind.
Wo ist denn da ein Layer?
Da:
Das Javascript (ausgelagert):
function farbe_zelle(id,farbe) {
if (document.all)
document.all[id].style.backgroundColor=farbe;
else
if (document.getElementById)
document.getElementById(id).style.backgroundColor=farbe;
else
if (document.layers)
document.layers[id].bgColor=farbe;
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Struppi.