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

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container DoesnContainer Doesn't pull in Content Pane Text Color CSS
Previous
 
Next
New Post
3/26/2008 2:56 PM
 

Ok here you go this works I just tested it.

Here is the HTML

<div class="Uniquecontainerholder_colorbackground">
    <div class="msactions_image">[DROPDOWNACTIONS][TITLE]</div>
    <div id="contentpane" class="Purplecontainer_image" runat="server"></div>
    <div>[ACTIONBUTTON:1]</div>
</div>

And here is the CSS

/* Container styles for Image Header Boxes */
.mscontainerholder_transparentbox, .mscontainerholder_colorbackground
{
    border: solid 1px maroon;
    margin-bottom: 10px;
    /* for IE 5.5 */
    height: 1px;
    voice-family: "/")"";
    voice-family: inherit;
    /* for IE 6+ */
    height: 100%;
   
}
.mscontainerholder_transparentbox
{
    background-color: Transparent;
}
.containerholder_colorbackground
{
    background-color: #E9D8D8;
}
.msactions_image
{
    background-color: Maroon;
    border-bottom: solid 1px Maroon;
    padding: 2px 5px;
}
.Purplecontainer_image
{
    padding: 6px 5px 8px 5px;
    color: Purple;
}
.ms_title_imageheader
{
    font: bold 100%, Verdana, Tahoma, Arial, Sans-Serif;
    color: #FFF;
}

As you can see at no point did I overright the .normal class I just defined the text color in my contentpane's class to have a purple font. During my edits I still have black fonts / whatever .normal is set to. However on rendering in the content window it displays as purple text. I tried setting .normal in the skin but it never called .normal for formating the text cause it was only interested in my .Purplecontainer_image style.

 

Hope that helps.

 
New Post
3/28/2008 12:42 AM
 

wow... keeperofstars
THAT is a nice touch... Thanks for sharing real life code too.

Thanks

 
New Post
11/26/2008 10:41 AM
 

Cuong Dang wrote

The regular text throughout DNN site always render using .Normal.

Although it might look different when you're in the FCK editor, but after updating the content, it should inherit from the container.css or  skin.css if specified.

The CSS hierarchy in DNN load as below (and yes, the container.css will override the skin.css styles):

  1. Modules.css
  2. Default.css
  3. Skin.css
  4. Container.css
  5. Portal.css

Hope this helps!

Let get this right, my CSS I have written in my Module.css will get overwritten by the Default.css which in turn will be overwritten by Skin.css, Container.css and Portal.css

I honestly thought that it worked in completely the opposite way in that Module.css would overwrite all other style sheets...no wonder what I was trying to do doesn't work!!!!

Can someone just confirm this please for my own state on mind.

 


Blue & White hooped blood runs through my veins!
 
New Post
11/3/2009 10:30 PM
 

 I wish I could say this worked for me.... Still inherits normal from the skin.css according to IE dev tool bar.... 

any other ideas anyone?
 

 
New Post
11/4/2009 6:59 PM
 

 I have worked this out, I was appling the colour on the normal tag. 

If I remove this obvioulsy it cant inherit the color from the normal tag, so its all sorted now

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Container DoesnContainer Doesn't pull in Content Pane Text Color CSS


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