Background color of the editor changed by javascript

  •  12-09-2008, 11:28 AM

    Background color of the editor changed by javascript

    I would like to change the background color of the editor by using javascript.  I have seen examples with classic asp and earlier versions of the editor, but I can't seem to figure it out with the latest version 6.0 and asp.net. 
    var oEditor = document.getElementById('CE_Editor1_ID');
    oEditor.EditorBodyStyle = "background-color:tan;Color:white";

    The above of course doesn't work, but it is the closest thing I could find on it.  I also found a thread that talked about the same issue but I couldn't get it to work either.
     
    editdoc.body.style.backgroundColor=color; 

    http://cutesoft.net/forums/thread/17874.aspx

    Thanks

    Luke

     
View Complete Thread