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, ...Set "normal" class within a known classSet "normal" class within a known class
Previous
 
Next
New Post
5/14/2007 12:45 PM
 

Sam,  Yes that did correct the issue...   A space made all the difference.  Thank  you.

Now for my next challenge....   I have a module.css  that could be used in either the darkbackground or Lightbackground.  The module generates a grid and I would like the grid header to have a light background on the DarkBackground container and a darkbackground on the lightBackground container.  Rather standard stuff I believe.  So where is the appropriate location to implement the classes.  It seems that the Module.css is declared before the container.css.  I believe the order is significant and may cause some difficulty.   So I will end up with:

Container.css

.darkbackground .gridheader { color:black; background:white; ...}
.lightbackground .gridheader { color:white background:black ; ...}

module.css

.gridheader { font-family: Tahoma, Arial, Helvetica;  font-size: 11px;  font-weight: bold; }

OK so far?  This seems to work.

Well the grid allows sorting so, the header must handle link, visited, active and hover.   This too will be conditional on the background class - so how does that work as the following does not  

.lightbackground  a.gridheader:hover { color: yellow; }

Any help would be appreciated.

 
New Post
5/14/2007 3:08 PM
 

I would think that in container.css you would use:

.darkbackground .gridheader, .darkbackground a.gridheader:link, .darkbackground a.gridheader:visited {color:black; background:white;}
.darkbackground  a.gridheader:hover{color: yellow;}
.darkbackground  a.gridheader:active{color: black;}

although I have not tried it. (Do note the sequence... link, visited, hover, active. IE doesn't like them out of sequence) 
Now, it may be better to use this instead:


.darkbackground a:hover{color:yellow;}

which should make all links in the darkbackground container turn yellow on hover.

 
New Post
5/15/2007 10:06 AM
 

Sam ... as the saying goes .. "you ARE the man!"

I took your suggestion and used  ( colors are for testing - final colors will be used when all is working as needed)

.darkbackground a:link       { color: white;  text-decoration: none; }
.darkbackground a:visited { color: yellow; text-decoration: none; }
.darkbackground a:hover   { color: red;    text-decoration: none; }
.darkbackground a:active  { color: red;    text-decoration: underline; }

Works like a charm ... many many thanks .

 
New Post
5/15/2007 1:19 PM
 

Glad I could help, Paul.  I have enjoyed using your SQLGrid module since DNN v2 days.

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Set "normal" class within a known classSet "normal" class within a known class


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