How to Set the Background of my Text Area.

Last post 08-13-2009, 9:00 PM by Kenneth. 2 replies.
Sort Posts: Previous Next
  •  08-13-2009, 3:23 PM 54679

    How to Set the Background of my Text Area.

    Cute Editor 6.3.  Visual Web Developer 2008 Express.  Visual Basic.
     
    I have a Cute Editor in my web page (I am designing my site using Microsoft Visual Web Developer 2008).  No matter what I do, when the editor comes up, the area in which I type my text has a grey cross-hatched background (which is what I have defined as the body background for all pages in my stylesheet).  The black text is hardly readable against this background.  How can I insure that my text area has a white background (or any color for that matter?)  Basically, I want to override the "body" background defined in my stylesheet.  Other ASP.Net controls don't have this problem.  Thanks for the help.
     
    Here is my code:

    <CE:Editor ID="Editor1" runat="server" Width="100%" AutoConfigure="Simple"

    EditorWysiwygModeCss="~/Extranet/StyleSheets/DefaultStyleSheet.css" ThemeType="Office2007"

    ContextMenuMode="Simple">

    </CE:Editor>
     
    My stylesheet says:
     

    body

    {

    background: #B4B4B4 url('../images/body_bg.gif') repeat left top;

    font-family: Tahoma, Arial, sans-serif;

    font-size: 75%;

    color: #333333;

    }

  •  08-13-2009, 4:50 PM 54681 in reply to 54679

    Re: How to Set the Background of my Text Area.

    After much frustration, I removed the EditorWysiwygModeCss="~/Extranet/StyleSheets/DefaultStyleSheet.css" and the problem went away.  Still wish there was a way to set the background color in the text area.  Argh!
  •  08-13-2009, 9:00 PM 54686 in reply to 54681

    Re: How to Set the Background of my Text Area.

    Hi Chaplain,
     
    Try properties EditorBodyStyle, like below:
     
      <CE:Editor ID="Editor1" runat="server" EditorBodyStyle="background-color:red">
            </CE:Editor>
     
    Regards,
     
    Ken
View as RSS news feed in XML