Hallo,
Das funktioniert wurderbar....
document.getElementById("K_indent_R_075").firstChild.style.setAttribute("color","#ff0000",false);
Das sehe ich erst jetzt. Das kann eigentlich nicht funktionieren.
document.getElementById("K_indent_R_075").firstChild.style ergibt ein CSSStyleDeclaration. Das hat keine Methode setAttribute. Warum der IE das trotzdem macht, weiß ich nicht.
Richitg wäre
document.getElementById("K_indent_R_075").firstChild.style.setProperty("color","#ff0000","important");
oder
document.getElementById("K_indent_R_075").firstChild.style.setProperty("color","#ff0000","");
Das kann aber IE nicht, also:
document.getElementById("K_indent_R_075").firstChild.style.color = "#ff0000";
Das können alle aktuellen grafischen Web-Browser.
viele Grüße
Axel