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, ...Different text style for containersDifferent text style for containers
Previous
 
Next
New Post
11/19/2007 4:28 AM
 

I'm building a website with 8 different containers. Each of them have a different title en content color. I fixed the title color for each container, but i do not know how to get this done for the content.

I tried p.blauw {

color:red;

}

I tried p#contentpane.blauw {

color:red;

}

I tried #contentpane.blauw p{

color:red;

}

<table class="blauw" width="100%" border="0" bgcolor="#00aeef">
<tr><td class="titel">[TITLE]</td></tr>
<tr><td id="ContentPane" runat="server">[ACTIONS]</td></tr></table>

How can i do this?

 
New Post
11/19/2007 5:56 AM
 

.normal should help

Dnn  wraps the content in an element with class named "normal"

 
New Post
11/19/2007 10:39 AM
 

This is what I do.  Same concept applies to TABLE containers.  TITLE => .Head,  ContentPane => .Normal    If you want to have different styles for each container then you need to nest the selector.

 

HTML

<div class="c1_title"> [TITLE] </div>

<div class="c1_content">  <div id="ContentPane"></div>  </div>

 

CSS

.c1_title .Head { }

.c1_title .Normal { }

 

 

--Table equvalent--

CSS is the same.

 

HTML
<tr><td class="c1_title">[TITLE]</td></tr>
<tr><td
class="c1_content"><div id="ContentPane"  runat="server"></div> </td></tr>

 
New Post
11/19/2007 12:33 PM
 

Sean Lee wrote

This is what I do.  Same concept applies to TABLE containers.  TITLE => .Head,  ContentPane => .Normal    If you want to have different styles for each container then you need to nest the selector.

 

HTML

[TITLE]

 
 
 

 

CSS

.c1_title .Head { }

.c1_title .Normal { }

 

 

--Table equvalent--

CSS is the same.

 

HTML
[TITLE]
class="c1_content">

 

Or to eleminate some unecessary div :-)

<div class="c1_title"> [TITLE] </div>

<div class="c1_content" id="ContentPane"></div>


Cuong Dang
Co-founder: Enliven, dnnGallery
LinkedIn | Twitter
I'm the author of DNN and Web Standards Wrox Blox

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different text style for containersDifferent text style for containers


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