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, ...CSS conflict when 2 different containers on same pageCSS conflict when 2 different containers on same page
Previous
 
Next
New Post
8/18/2006 1:07 PM
 
I am having a problem when I put 2 different containers on the same page. When I do that, the Normal text w/in the body of the container changes to the font type of the last container on the page. Ideally what I want to do is upload assign a container to only 1 module on the page, have the text for that module only change to that assigned in that container. What happens when I do this now is that all of the text in any module changes to the text styles in that last container.
 
New Post
8/18/2006 2:29 PM
 
unfortunately this happens when both containers use the same classes.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/18/2006 3:36 PM
 
OK, so I have 2 different text modules on the same page. I want to make 2 different containers that define different looks for each text module. I have managed to change everything except for the default text (I believe this is the Normal CSS class) w/in the content of the module. How do I assign the content of the text in one module to it's own class?
 
New Post
8/18/2006 6:39 PM
 

After hours of working on it, I finally found a possible, not necessarily the only or best solution.  What I did was in the .css file, I created a second .Normal class, this time under the #RedBox ID.  For example, the CSS file looks like this:


#RedBox .Normal{
   Color: red;
}


Then in the .ascx file, I put the Content Pane w/in a div like this:


<div id="RedBox">
<td id="ContentPane" ...>
</td>
</div>

I hope this helps someone.

 
New Post
8/19/2006 1:36 AM
 

I think this exactly how you should do it, use the CSS selectors.

Peter


Peter Schotman
Cestus Websites voor DotNetNuke oplossingen in Nederland
Contact us for your custom design and skinning work.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CSS conflict when 2 different containers on same pageCSS conflict when 2 different containers on same page


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