Results 1 to 3 of 3

Thread: Hypertext Link color change upon click - Newbie

  1. #1
    Join Date
    Jun 2007
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Hypertext Link color change upon click - Newbie

    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

  2. #2
    Join Date
    Jul 2007
    Location
    California
    Posts
    177
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    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/...als/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)

  3. #3
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    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.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •