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, ...2 Different link formats on same page2 Different link formats on same page
Previous
 
Next
New Post
2/27/2007 6:09 PM
 

I created a skin and a html based page in the skin. In one table cell, there will be a html/text module that will have  a dark background with text links typed in. I want the links to be white text. (before and after being clicked). We'll call this the LeftPane

Elsewhere in the page, the background will be white, and there will be links there too. I want them to be blue.

There is already the 4 default css classes for making links blue (A:link, A:Hover, A:Visited, A:Active)

I want to create a CSS class that will format ONLY the links in the LeftPane as white.

This is the important part: Can I create this class such that I can apply it to the table-cell instead of each link (<a class="mywhite"> MyLinkText </a>)

 

The reason for this is I am creating a commercial skin and I don't want to require the user to edit the html for each link in this section that has the dark background just so the links there will be different from the standard for the page.

Sorry for the long post. Thanks for reading...

 
New Post
2/27/2007 7:01 PM
 
Yes you can like this:

#dnn_LeftPane a, #dnn_LeftPane a:active, #dnn_LeftPane a:visited{
    color:#FFFFFF;
}
 
New Post
2/27/2007 11:27 PM
 
Timo! That worked perfectly. Couldn't be better! I looked long and hard to figure that out. Thank you for sharing your expertise!
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...2 Different link formats on same page2 Different link formats 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