Welcome to Dream.In.Code
Getting Help is Easy!

Join 136,047 Programmers for FREE! Get instant access to thousands of experts, tutorials, code snippets, and more! There are 1,548 people online right now. Registration is fast and FREE... Join Now!




CSS Link Color Issue

 
Reply to this topicStart new topic

CSS Link Color Issue

Rico Valentine
29 Jul, 2008 - 06:55 AM
Post #1

New D.I.C Head
*

Joined: 25 Jul, 2008
Posts: 2

I am working on developing a site, but I am currently running into the issue with Links on the site. I have the color for link, visited,, hover and active figured out...but when you click on a link and visit the corresponding page, that specific link becomes a dark color that is hard to read.

Here is a snippet of code that I figure it should be apart of:

CODE
a {
  text-decoration: none;
}
a:link {
  color: #c2c2c2;
}
a:visited {
  color: #c2c2c2;
}
a:hover {
  color: #c2c2c2;
}
a:active {
  color: #c2c2c2;


What I am trying to accomplish is figure out how to change the color of the link when you are the link's corresponding site.
User is offlineProfile CardPM
+Quote Post

BetaWar
RE: CSS Link Color Issue
29 Jul, 2008 - 07:13 AM
Post #2

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 2,020



Thanked: 81 times
Dream Kudos: 1175
My Contributions
Do you have a link to the site so we can see what you are talking about?

Also, you could do all that your current code (for the CSS) in this:

CODE

a{
  color #c2c2c2;
  text-decoration: none;
}


Realize that c2c2c2 is a light gray in color, so it shouldn't even be too dark.
User is offlineProfile CardPM
+Quote Post

Rico Valentine
RE: CSS Link Color Issue
29 Jul, 2008 - 07:17 AM
Post #3

New D.I.C Head
*

Joined: 25 Jul, 2008
Posts: 2

Unfortunately I cannot link to the site itself (legal issues). However, the c2c2c2 is not the color I am having issue with. The color that the link changes to is more of a black, and going through the entire code, i can't find the color anywhere
User is offlineProfile CardPM
+Quote Post

BetaWar
RE: CSS Link Color Issue
29 Jul, 2008 - 07:28 AM
Post #4

#include <soul.h>
Group Icon

Joined: 7 Sep, 2006
Posts: 2,020



Thanked: 81 times
Dream Kudos: 1175
My Contributions
Hm, not sure. It is probably because of some error you have in the CSS then that is making it die after a certain point before setting everything. When CSS parsing is ceased all CSS unparsed is left at befault (for text and link colors it is typically black or a purpel/blue. So that may be the issue. Can you post your whole CSS?
User is offlineProfile CardPM
+Quote Post

wenkang
RE: CSS Link Color Issue
7 Aug, 2008 - 12:41 AM
Post #5

New D.I.C Head
*

Joined: 7 Aug, 2008
Posts: 1

Hi,guy.I'd like to give you some help.
I'm a web designer.Noticed that there are many people having trouble with writting good quality XHTML/CSS/JS code, we think you may have interests in the one of the services we offer(such as PSD to HTML).
You can learn more about us at:
** Link Removed**
Good luck. smile.gif
User is offlineProfile CardPM
+Quote Post

no2pencil
RE: CSS Link Color Issue
12 Aug, 2008 - 01:55 AM
Post #6

My fridge be runnin OH NOEZ!
Group Icon

Joined: 10 May, 2007
Posts: 6,435



Thanked: 64 times
Dream Kudos: 2425
Expert In: Goofing Off

My Contributions
QUOTE(Rico Valentine @ 29 Jul, 2008 - 11:17 AM) *

Unfortunately I cannot link to the site itself (legal issues).

Without being able to see the actual site, the ability to correct your issue will be much more difficult.

While I understand your reasons for not being able to post it, your css is accurate & correct. So therefor the problem must exist somewhere else. As previously pointed out, the color you are using isn't even dark.


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/1/08 05:16PM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month