Question:
For html code why does my font change color when I add a hyperlink to it?
1badlj@sbcglobal.net
2007-10-28 12:34:19 UTC
I am trying to design my website. The only problem I am having is when I add a hyperlink to the text in a text box the font changes color.
Seven answers:
plushy_bear
2007-10-28 12:42:20 UTC
Because the tags of vlink, link, and alink are already set. You can change them in your OWN html pages.



Good luck!
quoth09
2007-10-28 12:43:20 UTC
This is a setting that is in all browsers and HTML documents. It will be defined as the Hyperlink color. There is also a tag for after a Hyperlink has been clicked on as well. You can define this for the whole document, or you can add a style attribute per anchor tag (hyperlink).



This link may help you if you are using standard html:

http://www.codeave.com/html/code.asp?u_log=5027



CSS here:

http://www.goldcoastwebdesigns.com/change-hyperlink-color.shtml





Best of luck.
alexandre r
2007-10-28 13:04:37 UTC
normally the font color does not change in that case. u should check your code to see where u have put the hyperlink color and the font color.it may be a logical error.

if u could give us the code, we could help u better
2007-10-28 12:40:18 UTC
coz the hyperlink color is set already in the head of the page. what ever the fontcolor, the hyperlink will have the same color.. set the color after you set the hyperlink destination..
bobis1
2007-10-28 12:45:15 UTC
All you have to do is put the font tags inside the hyper link, like this:



Mannanana



that will make your links black.
John1704
2007-10-28 12:44:01 UTC
If you want don't want it to be underlined or have no text decoration at all, use this CSS in the head tags:



?
2016-05-26 02:28:15 UTC
no! if you are not a DUDU head you should know!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...