Category: Computers > Internet
Asked by: edmill63-ga
List Price: $2.00
12 Jun 2003 07:32 PDT
Expires: 12 Jul 2003 07:32 PDT
Question ID: 216445
How do I change a used URL pink color back to an unused blue color?
Re: PC use
Answered By: poe-ga on 12 Jun 2003 07:40 PDT
Hi, As you correctly note, the colour on your page is determined by whether the link has been followed or not. The colour of URLs in web pages is controlled by the BODY tag which you can find very close to the top of the source code of any HTML web page. Right click on any page and choose View Source or similar. The source code of most pages will begin with something like the following. <HTML> <HEAD> <TITLE>My Example Title</TITLE> </HEAD> <BODY BGCOLOR="#000080" TEXT="#FFFFC0" LINK="#C0C0FF" VLINK="#C0C0FF" ALINK="#C0C0FF"> As you can see, there are a few different fields in the BODY tag. The word describes what the field does (for instance TEXT) and the number sets the colour (for example #000080). BGCOLOR sets the background colour of the page. TEXT, unsurprisingly, sets the colour of the text. LINK sets the colour of links that have not been visited. VLINK sets the colour of links that have been visited. ALINK sets the colour of a link currently covered by the cursor. I personally prefer all links, whether visited or not, to be of the same colour. To do this, merely set LINK, VLINK and ALINK to be identical. I hope that helps. Poe
Re: PC use
From: research_help-ga on 12 Jun 2003 08:34 PDT
If I read the question correctly, I think they are asking "How do I change a used URL pink color back to an unused blue color?" They did not ask why the color changed or what a site designer did to make this happen. Depending on the browser, the answer would be to clear the history of sites visited. Maybe the researcher will be able to post a responsive answer after rereading the question carefully.
Re: PC use
From: poe-ga on 12 Jun 2003 09:18 PDT
Thanks for your comment, Research Help. Re-reading the question, I agree that you may well be right. Edmill, could you please clarify as to whether you are a designer trying to control your link colours in code or merely a surfer who wants to get rid of the unsightly pink links you'll see so often? If this is the case, which browser do you use (Internet Explorer, Netscape etc)? I agree that if this is the case, clearing your history would do the job. If you are using Internet Explorer, you can do this by clicking on Tools on the top menu, then Internet Options and finally on Clear History. If you don't want to see pink links ever again, you might want to set the Days to keep pages in history option to zero. In Netscape the option is Empty Network Cache but I'll have to check the exact path to do this when I get home. I believe that in both Netscape and Opera you can choose to override the BODY field settings that I mentioned above with default choices of your own. Sorry for any confusion. Poe
If you feel that you have found inappropriate content, please let us know by emailing us at firstname.lastname@example.org with the question ID listed above. Thank you.
|Search Google Answers for|