Background Color

3 posts, 0 answers
  1. Guss
    Guss avatar
    48 posts
    Member since:
    Apr 2008

    Posted 11 May 2008 Link to this post

    Hi, just for information.

    I'm using the HTMLEditor in a rad grid.
    The style
    .radeditor.Vista.rade_wrapper table td.rade_contentCell 
        border: solid 1px #9db6c5; 
        background: white; 

    controls the background color for the contant area, but in FF, my html background is actually shown the content area because the content background is either transparent or it inherits the background image from my html style, not the white background.

    So by adding !important, this is fixed!
    .radeditor.Vista.rade_wrapper table td.rade_contentCell 
        border: solid 1px #9db6c5; 
        background: white !important; 

  2. George
    George avatar
    859 posts

    Posted 12 May 2008 Link to this post

    Hi Guss,

    Since the Editor ContentArea CSS styles are loaded first on purpose, it is possible for another global styles to override its settings. Hence if you want to prevent the overriding of the ContentAres CSS styles, just set the !important attribute after their values.

    I hope this helps.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Matt
    Matt avatar
    10 posts
    Member since:
    Feb 2006

    Posted 08 Aug 2008 Link to this post

    A better solution would be adding the following to your editor

    <telerik:EditorCssFile Value="~/App_Themes/Theme/Editor.Theme.css" />

Back to Top