Yes. You can either change individual aspects of the style, change the css for an inline stle or change the Cclass applied to an element
Code:
var oTextbox document.getElementById("txtBox");
oTextbox.style.color = "#dd0000"; //Changes text color to red.
oTextbox.style.cssText = "color: #dd0000"; //As above but changes CSS, possibly IE only.
oText.className = "myClass"; //Changes class of textbox.
--
Joe (
Microsoft MVP - XML)