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...Administration ...Administration ...Link color issues!  HELPLink color issues! HELP
Previous
 
Next
New Post
1/26/2008 2:05 PM
 

Okay, I know that this should be an easy fix but I can't figure out why it isn't.  As I have stated previously I am a complete NEWBIE to DNN but this appears to be a CSS issue and I have used CSS for years...so I'm pulling my hair out on why this isn't working.

http://vcgonlineacademytest-com.web21.winsvr.net/CareersbyState/Texas/tabid/54/Default.aspx 

If you pull the site up in Firefox the boxes around the text graphics are gray.  In IE they are they standard blue (and purple for visited links).  We have adjusted the a:link  and a:visited in the css file to show a maroon red for links and a goldenrod color for visited links.  The problem is, that it doesn't appear to be working for the graphics that are set up as links. 

Anybody know what I am missing.  My head is spinning and I'm no closer to solving the problem now than I was a couple of days ago! 

 
New Post
1/26/2008 5:25 PM
 

You've applied font formatting to the graphics. Remove it and the borders will come.

If you inserted the graphics using a text/html module, open it, click the Source button and remove the font tags.

Rob

 
New Post
1/27/2008 8:26 PM
 

Ahhh...well that helped the issue for me in Firefox.  We have several people working on the site and I'm the only one who really knows the hard coding.  I didn't realize until you brought it up that there was a way to actually view the source code (I told you I was new to DNN. ) so I removed the font line codes (and will be talking to the other folks about not formatting individual lines)>

 

The problem still remains in IE.  Any idea why it isn't reading the CSS for this one particular issue?  It actually applies it just fine on other pages (for example http://vcgonlineacademytest-com.web21.winsvr.net/CareersbyState/tabid/89/Default.aspx ) but doesn't when the link is a graphic such as the pages listed above.

 
New Post
1/27/2008 10:09 PM
 

One common culprit whenever you're having trouble styling something in DNN is that the standard default.css is always present and applied to all skins. This means that anything you have not specifically restyled in your skin.css might fall back to something specified in default.css. When you create new styles, always look in default.css and copy out and restyle any defaults you find in there... or just for fun, remove the default sheet temporarily to see what happens to your skin and fix it from there. Any individual skin should really be completely self-sufficient with its own styles and not rely on deault.css.

But more specifically: You're probably going to get better results if you apply link styles directly to images using this example:

a:link img, a:visited img, a:active img{border:1px solid red}
a:hover img {border:1px solid blue}

Insert your own colours there and put it in your skin.css

Also, have you added style sheet links directly in container or skin files... the site is generating two iis errors that I don't recall seeing the first time I looked. Try and revert whatever it was.

Also.. no excuses about this, just do it: Install the Firebug and Web Developer addons for Firefox. They are essential when troubleshooting css in DNN. Use the "right click Inspect Element" for Firebug and the "Edit CSS" menu item for the Web Developer addon.

Rob

 
New Post
1/28/2008 10:19 AM
 

Rob,

Thanks for the reminder on the Edit CSS.  It's been so long since I needed it I had completely forgotten about it. (Haven't used Firebug but will get it installed.) 

Here's a really stupid question...but for the life of me, I can't even locate the default.css file.  Where is it usually located?  I have only been able to locate the portal.css and obviously the skin.css files.  I have been operating under the (incorrect) assumption that the portal.css file WAS the default.css file.  Needless to say I was pretty shocked to learn otherwise when I checked the pages with Edit CSS.  After looking at the code I have learned that it most likely is the biggest cause for my problems...but I still can't find the blasted thing!

Thanks!

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Link color issues!  HELPLink color issues! HELP


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