External CSS and Editor Background

Last post 10-16-2008, 8:58 AM by Adam. 1 replies.
Sort Posts: Previous Next
  •  10-15-2008, 9:07 PM 44923

    External CSS and Editor Background

    Hi,
     
    I've scoured the forum trying to find a solution to the problem, and have applied all the fixes I've found, yet to no avail.
     
    I've configured the editor as below.  It is using an external style sheet and is displaying the background image from the body tag, as well as all the classes from the css.
     
    <CE:Editor ID="HTMLTextEditor" runat="server" Text='<%# Bind("HTMLText") %>' Height="300px" AutoConfigure="Simple" EditorWysiwygModeCss="../Greenwall.css" EditorBodyStyle="background-color:White;color:Black;">
    </CE:Editor>
     
    The only problem is that the background of the editor has the background image from the body style, whereas I'd like to have the CSS class of "upperinner" (as defined in the stylesheet) which has a white background with a black text. 
     
    I've tried manually adding a style as shown above, as well as using the "EditorBodyClass".  Yet still the background image is shown.
     
    I've actually split the main CSS for the site into two, with the first containing all the styles for the website and the second amending the Body tag to include the background image.  Is this the best approach?
     
    Please advise.
  •  10-16-2008, 8:58 AM 44934 in reply to 44923

    Re: External CSS and Editor Background

    Change:

    EditorBodyStyle="background-color:White;color:Black;"

    to:

    EditorBodyStyle="background-color:White;color:Black;background-image : none ;"

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

View as RSS news feed in XML