Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorText/HTML module body of the editor is aquiring the background color Text/HTML module body of the editor is aquiring the background color
Previous
 
Next
New Post
9/24/2008 5:02 PM
 

I upgraded all of our sites to 4.9 and every since when you edit the Text/HTML module the body of the editor is aquiring the background color of the CSS sheet of the skin. Its using .body { margin: 0px; background:#121212; for the site background and you can read what you are typing in the box with black on black.

How do I fix the text editor from using the website skin's style sheet?

 
New Post
9/30/2008 2:58 PM
 

Ok I have installed a fresh installation of 4.9 and changed the default background color and the text box changes to the color of the background.

How do I fix this?

 
New Post
9/30/2008 3:28 PM
 

I'm seeing this problem too, and don't know how to fix it...

I tried setting up my skin's CSS rules like this:

body {background-color:Black;}

body * {background-color:White;}

But that did not help; the FCKEditor's background stayed black. :(

Next, I tried setting up my skin's CSS like this:

body {background-color:White}

.blackbackround {background-color:Black; width:100%}

And wrapped the entire content of the skin .ascx file in a div which I set class="blackbackground" like so:

 

body

div class=blackbackground

[skin code]

/div

/body

 

 

This sortof worked, but doesn't work very well if the viewpane height is taller than the content of the div, because then you get a white area at the bottom of the page where the div ends and the body's background color shows.

Looking for a better/permanent fix...  I guess avoid black background sites until fixed.

 
New Post
9/30/2008 4:00 PM
 

Actually any color background that clashes with the font color!!!

 
New Post
9/30/2008 6:30 PM
 

Indeed.  Foreground/background contrast is the issue, not any particular color.

Here's a fix:

Go to your skin.css file and comment out the body background-color rule, like so:

 

/* body {background-color:Black;} */

 

Now go to your skin.ascx file and add a style attributeto your body element, to set the background color, like so:

body style="background-color:black;"

[skin code]

/body

 

The black background will now only apply to the body element in the skin page, and ONLY the body element; and will not be inherited by the background of the rich-text editor.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsFCKeditorFCKeditorText/HTML module body of the editor is aquiring the background color Text/HTML module body of the editor is aquiring the background color


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out