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  |  

$4.95 Windows Hosting at Webhost4life.com
  Ads  
Engage Software - Training Partner for DotNetNuke
 


  Sponsors  

Meet Our Sponsors

SourceGear - Tools for Developers
.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Make it Hot! ( ...  Hypelink style
Previous Previous
 
Next Next
New Post 3/10/2008 4:12 PM
User is offline nectar
101 posts
Bluehunting.com
9th Ranked


Hypelink style 

Hello all,

I can modify the style of simple text within a module container but the the hyperlinks.

How would I do that?

Here is what I have:

<td runat="server" id="ContentPane" class="brownback" valign="top" width="100%" height="41%"></td>

___________

a.brownback, a.brownback:hover, a.brownback:link, a.brownback:active, a.brownback:visited
{
    font-size: 8pt;
    color: fuchsia;
    font-family: arial;
}

 

Why it doesn't work?

Thanks

 


Sell your modules here

 
New Post 3/10/2008 9:45 PM
User is offline Josh Martin
175 posts
www.dnnreactor.com
9th Ranked


Re: Hypelink style 

Basically it's because the modules have thier own classes applied by DNN to them, so your applying your :hover and such to classes that aren't being used inside the module.  You're applying thm to the cell, but in the cell are more cells that have thier own class.

So...There is a file in DotNetNuke, called default.css that applies to everything in your website.  Every class in that file can be overridden.  To override them, in your skin.css file you must declair the same class that your overriding, and set the attributes you wish to override.

make sure, when you override something, override it exactly.  If they say border-left you say border-left adn so on.

Here is the section you need to override.  I've highlighted the items that you must override.  Just put those classes in your skin.css file and it should work.  if not take a look at default.css in your skin admin, site settings page...you'll see it all there.

 

 

/* GENERIC */
H1
{
font-family: Tahoma, Arial, Helvetica;
font-size: 20px;
font-weight: normal;
color: #666644;
}

H2
{
font-family: Tahoma, Arial, Helvetica;
font-size: 20px;
font-weight: normal;
color: #666644;
}

H3
{
font-family: Tahoma, Arial, Helvetica;
font-size: 12px;
font-weight: normal;
color: #003366;
}

H4
{
font-family: Tahoma, Arial, Helvetica;
font-size: 12px;
font-weight: normal;
color: #003366;
}

H5, DT
{
font-family: Tahoma, Arial, Helvetica;
font-size: 11px;
font-weight: bold;
color: #003366;
}

H6
{
font-family: Tahoma, Arial, Helvetica;
font-size: 11px;
font-weight: bold;
color: #003366;
}

TFOOT, THEAD
{
font-family: Tahoma, Arial, Helvetica;
font-size: 12px;
color: #003366;
}

TH
{
vertical-align: baseline;
font-family: Tahoma, Arial, Helvetica;
font-size: 12px;
font-weight: bold;
color: #003366;
}

A:link
{
text-decoration: none;
color: #003366;
}

A:visited
{
text-decoration: none;
color: #003366;
}

A:hover
{
text-decoration: underline;
color: #ff0000;
}

A:active
{
text-decoration: none;
color: #003366;
}

http://www.microsoft.com/downloads/details.aspx?familyid=e59c3964-672d-4511-bb3e-2d5e1db91038&displaylang=en  <--I like this one for finding elements

http://chrispederick.com/work/web-developer/ <-- this one is GREAT for testing CSS.

 

 


Josh Martin
http://www.DNNReactor.com
 
New Post 3/11/2008 7:47 AM
User is offline nectar
101 posts
Bluehunting.com
9th Ranked


Re: Hypelink style 

Many thanks for your reply.

I have added the highlighted sections in my container's css file and it worked. The only problem is that it

affected the rest of the modules too.

How would I make it not affect the rest, but modifying only the container's css file?

Thanks


Sell your modules here

 
New Post 3/11/2008 11:11 AM
User is offline Josh Martin
175 posts
www.dnnreactor.com
9th Ranked


Re: Hypelink style 

 nectar wrote

Many thanks for your reply.

I have added the highlighted sections in my container's css file and it worked. The only problem is that it

affected the rest of the modules too.

How would I make it not affect the rest, but modifying only the container's css file?

Thanks

All modules are held within a container.  I may be missunderstanding what you are trying to do I guess, but yes if you apply those items to the container, it will effect the contents of the container, or, the modules that the containers are holding.  I thought that was what you were wanting to do.

I guess you could create two containers, one for contents that have your styles applied, and one that doesn't.

 

Anyone have a better idea?

 


Josh Martin
http://www.DNNReactor.com
 
New Post 3/11/2008 1:24 PM
User is offline nectar
101 posts
Bluehunting.com
9th Ranked


Re: Hypelink style 

I mean that if I apply the particular container on a module on a page, the style of the particular container

affects the links of other modules dressed in different containers. So, all the links in the same page

are modified by the new container's style!

Any ideas how to limit access to the links styling?


Sell your modules here

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Make it Hot! ( ...  Hypelink style
 


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.

 


Viva Portals, L.L.C.
Expert module development and graphic design.
www.continure.com
DNN Photo Gallery
DNN Photo Gallery is a truly unique photo management module released January 1st 2006. With DNN Photo Gallery you can REALLY integrate images into your existing portal and make them look like they were designed for your site.
DNN Photo Gallery
Swirlhost Inc.
Affordable DotNetNuke Hosting, Skin Development, Custom Module Development, and DotNetNuke Consulting. We will install your preference of DNN and now host with us and get a free license for the Swirl AJAX Chatroom Module.
www.swirlhost.com

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