Jump to content

[SOLVED] a:visited color


Andy17

Recommended Posts

Hey guys, just a quick question. Is there a way to make visited links the same color as links that are not visited, except making a and a:visited the same color (just so I won't have to find a hex color close to the original).

 

Basically I want to get rid of the purple kind of color the browsers automatically make when you visit a link and just have it display the normal link color.

 

I did a quick search and didn't really find anything. If I missed it, I apologize.

Link to comment
Share on other sites

Unfortunately you can not just have them all be the same without defining the values.

 

You can however get the hex value of the color rather simply, just do a screen capture of your page and use any the color picker tool from any graphics program to select that color from where you should be able to see the color code.

 

 

Link to comment
Share on other sites

Yeah ok, I just hoped there was a better solution, but hey, I'll only have to do it once! :) Thanks for the quick reply!

 

I am just interested, is your CSS all in one file?

(I am pretty new to CSS but anyway)

If so, can't you just copy what ever is on ':link' to ':visited'?

a:link 
{color: #FFFFFF;
}
a:visited
{color: #FFFFFF;
}

?

Link to comment
Share on other sites

Yeah ok, I just hoped there was a better solution, but hey, I'll only have to do it once! :) Thanks for the quick reply!

 

I am just interested, is your CSS all in one file?

(I am pretty new to CSS but anyway)

If so, can't you just copy what ever is on ':link' to ':visited'?

a:link 
{color: #FFFFFF;
}
a:visited
{color: #FFFFFF;
}

?

 

Yeah it is. Sure I could, but I just didn't edit the link color, it's just the default one so that's why. :)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.