How to change editors BG Color
Last Post 09/11/2006 9:55 AM by Timo Breumelhof. 4 Replies.
Author Messages
Jason Harlow
Nuke Active Member
Nuke Active Member
Posts:33


--
09/03/2006 12:14 PM

    I'm using a dark background through one of the sites I'm developing. The content panes all have a white background so it basically appears that the content area is a white background with dark borders from the background.

    When I go into the text / html editor, it uses the body background color as specified in  my skin.css file. I need to change just the background of the text / html editor to white so I can get an idea of what it will look like on the site without effecting the body background for the site. Any ideas on how to do that or what class to change?

    thanks
    jason

     

    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    09/04/2006 2:56 AM
    Hi Jason,

    I haven't come across a method to fix this, if you do please let us know, thanks
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Jason Harlow
    Nuke Active Member
    Nuke Active Member
    Posts:33


    --
    09/04/2006 11:24 AM
    Hi Lee, I found that you can change the default BG color using the FCK editor but not the standard DNN editor. That is the good news.

    The bad news is, I am now looking for a way to make the FCK editors image dialog screen have a specific BG color. (it currently uses the defult and has the same problem as the standard DNN editor)
    Lee Sykes
    DNN Creative Staff
    Nuke Master VI
    Nuke Master VI
    Posts:4945


    --
    09/05/2006 2:27 AM
    Hello,

    I would be interested if you find a sloution for this, Lynn was attempting the same thing here:
    http://www.dnncreative.com/Forum/ta...fault.aspx

    If you find a solution, let me know and I will put together a tutorial for everyone to learn from, thanks,
    Lee Sykes
    Site Administrator
    Subscribe to the website : DotNetNuke Video Tutorials : The Skinning Toolkit : DotNetNuke Podcasts

    Twitter: www.twitter.com/DNNCreative

    Lee Sykes's Facebook Profile
    Timo Breumelhof
    Nuke Newbie
    Nuke Newbie
    Posts:1


    --
    09/11/2006 9:55 AM
    I had the same problem and I think I solved it.
    The Editor contains an Iframe and it has a Body tag of it's own.

    If you set

    BODY
        {
        Background-color:#FF0000;
        }

    Both BODY tags will have a red background (page and Text editor)

    The only distinction between the two I could find is that DNN renders the (main) BODY tag with ID="body"

    so If you replace the lines above with:

    BODY#body
        {
        Background-color:#FF0000;
        }

    Only the background of the page will be RED, not the background of the text editor.


    ---