Log in

View Full Version : Hypertext Link color change upon click - Newbie



immi007
07-14-2007, 06:15 AM
Hi,

I have very little knowledge regarding scripting.

I have seen that webpages nowadays, the link th at are present on the site, their color doesn't change upon clicking.

Unlike in my case when I click on anylink text link on my webpage, its color changes from Blue to purple.

Is there any way to avoid this, like to m ake it stay blue or any other color of my desire from the beginning whether someone clicks on it or not.

Thanks

Sliight
07-14-2007, 07:36 AM
I'm basically very new to the HTML stuff, however I literally just went over how to do this 5 minutes ago using CSS. Here is a site with a killer tutorial which has really expanded my knowledge when it comes to the overall appearance of your site - http://www.westciv.com/style_master/house/tutorials/index.html (There is a nice demo there that will work for 30 days to use along with the tutorial. I'm 99% sure I'm gonna buy it afterwards. Appears to be a killer CSS editor

However if you simply want to change the links on one page without messing with CSS here's the default links and how it would look-

in the body section you may see - <body link="#C0C0C0" vlink="#808080" alink="#FF0000"> You can just change the vlink to the color you want either in hexidecimal like the set one, or just use the color name.

(Keep in mind I'm a total newbie, but I'm 99% sure this is right)

djr33
07-14-2007, 07:37 AM
It's probably a good idea to use CSS, but those properties should work. Just set them to the same thing and it won't change when clicked, etc.