Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

DotNetNuke Marketplace
  Ads  
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  CSS grief
Previous Previous
 
Next Next
New Post 6/1/2008 8:38 AM
User is offline Al Williams
57 posts
www.sunsethill.ca
10th Ranked




CSS grief 

Hi,

I have a page with this content:

  <div>We also have environmentally friendly methods for&nbsp;<span class="echolink14"><a href="http://www.echotree.ca/CompostTea.aspx">fertilizing your trees</a> </span>and <span class="echolink14"><a href="http://www.echotree.ca/Cankerworms.aspx">dealing with cankerworms </a></span>and other pests. </div>

In my portal css, I have:

.echcolink14 A:link {font-size: 14px; color: #285d15; text-decoration: none; font: normal;}
.echcolink14 A:visited {font-size: 14px; color: #285d15; text-decoration: none; font: normal;}
.echcolink14 A:active {font-size: 14px; color: #285d15; text-decoration: none; font: normal;}
.echcolink14 A:hover {text-decoration: underline; font-size: 14px; color: #285d15; text-decoration: underline; font: normal;}

Here is the page:

http://www.echotree.ca/Home.aspx

As you can see, the links are not 14px (they are 12) - and for some reason when hovering over the links, they are bold - yet the class does not specify bold...  I'm about to pull my hair out ... Any ideas?

For reference, here is the standard A class in my portal.css:

A:link
{
 text-decoration: none;
 font-size: 12px;
 color: #285d15;
 font: normal;
}

A:visited
{
 text-decoration: none;
 font-size: 12px;
 color: #285d15;
 font: normal;
}

A:hover
{
 text-decoration: underline;
 font-size: 12px;
 color: #285d15;
 font: normal;
}

A:active
{
 text-decoration: none;
 font-size: 12px;
 color: #285d15;
 font: normal;
}

 

 

 

 

 

 
New Post 6/1/2008 8:45 AM
User is offline duchoangle
450 posts
vn.pijaja.com
8th Ranked


Re: CSS grief 

The portal.css styles are overwriting your styles in skin.css

The css priorities in DNN are as follow:

default.css --> skin.css --> portal.css


Pijaja.Com - Innovative Site Builder

Sirius - Free skin for Dotnetnuke

 
New Post 6/2/2008 5:38 AM
User is offline Al Williams
57 posts
www.sunsethill.ca
10th Ranked




Re: CSS grief 

D'oh !!!

 I found another set of A link classes down at the bottom of the portal css file that were the culprit.  So, I had two sets of A link classes in portal css in addition to the custom A link class.

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  CSS grief
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


DotNetNuke® in Sweden
All service of DotNetNuke® in Sweden.
Olsmar Konsult
Overlook Technology
Website Development, DotNetNuke Consulting, Module Development, Portal Management
OverlookTechnology.com
DeutschNetNuke = DotNetNuke in German
DeutschNetNuke provides all DotNetNuke related services in German (and English).
www.DeutschNetNuke.de

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP