Register   Login
     
  Latest Posts  
Create article not using 'edit skin'
by mattbunce on 7/29/2010 10:41 AM
Sexy comments
by mattbunce on 7/29/2010 10:35 AM
RE: NewsArticles slider examples
by kalak on 7/29/2010 9:49 AM
ENH: Like and dislike button
by bennypg on 7/29/2010 8:14 AM
RE: Search for location distance
by Codepoint on 7/29/2010 8:03 AM
RE: delete album in module, but not on server
by aggiebeck on 7/29/2010 7:29 AM
RE: Exporting photos
by aggiebeck on 7/29/2010 6:52 AM
RE: New Attachment Process
by jwinters on 7/29/2010 6:00 AM
RE: Standard template changed
by Aramus on 7/29/2010 4:12 AM
RE: NewsArticles slider examples
by nokiko on 7/29/2010 3:48 AM
  Forums  
Subject: CSS Style overwritten by dnn skin?
Prev Next
You are not authorized to post a reply.

Author Messages
nknightUser is Offline
Registered Users
Ventrian Newbie
Ventrian Newbie
Posts:5

3/19/2010 6:23 AM  

When I try to apple a style from the template.css file to an element, such as an anchor tag, it gets rendered with the style from the skin.css file instead. 

 

Has anybody run into this?  How can I apply styles without explicitly stating them as style="" in the element tags?  I want to be able to use classes, but not alter the classes in the skin.css file, since those must remain the same for other site areas.

 

 

 

Thanks!

Scott McCullochUser is Offline
Administrators
Ventrian Master
Ventrian Master
Posts:18313


3/22/2010 4:25 AM  
You can wrap them in divs and refer to them like:-

#NewsArticles a {
styles..
}

(the news articles wraps the module in a div with an ID of NewsArticles)

Scott McCulloch
Site Administrator
You are not authorized to post a reply.
Forums > Modules > News Articles > CSS Style overwritten by dnn skin?



ActiveForums 3.7