SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Addict
    Join Date
    May 2002
    Posts
    349
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    vlink won't display color change?

    Hi,

    Just wondering if someone can help me out with an external stylesheet problem.

    I'm running 3 sets of custom navigation link colors on a page: blue, green, orange, with the main text links set to black (#000000).

    I get everything to display as intended except my visiting link color. The vlink will either display as purple if it is a main text link or else as the "a.color:link" color in the other navigation links. Basically, I have no control setting the vlink color.

    Here's my CSS:

    -------------------------------------------------------
    a:link { color: #000000; text-decoration:none }
    a:hover { color: #3e3e3e; text-decoration: underline }
    a:active { color: #C0C0C0; text-decoration: none }
    a:vlink { color: #3e3e3e; text-decoration: none }


    .blue { color:#00008b; text-decoration:none }
    a.blue:link { color:#00008b; text-decoration:none }
    a.blue:hover { color:#00008b; text-decoration:underline }
    a.blue:active { color:#C0C0C0; text-decoration:underline }
    a.blue:vlink { color:#ff0000; text-decoration:none }


    .green { color:#008000; text-decoration:none }
    a.green:link { color:#008000; text-decoration:none }
    a.green:hover { color:#008000; text-decoration:underline }
    a.green:active { color:#C0C0C0; text-decoration:underline }
    a.green:vlink { color:#ff0000; text-decoration:none }


    .orange { color:#ff8c00; text-decoration:none }
    a.orange:link { color:#ff8c00; text-decoration:none }
    a.orange:hover { color:#ff8c00; text-decoration:underline }
    a.orange:active { color:#C0C0C0; text-decoration:underline }
    a.orange:vlink { color:#ff0000; text-decoration:none }

    -----------------------------------------------------------
    I reference a class like this:
    <a href="personal/internet.html" class="green">Internet</a>

    Any help would be appreciated.

    Thanks.
    Last edited by tdev; Aug 20, 2002 at 13:34.

  2. #2
    SitePoint Addict
    Join Date
    May 2002
    Posts
    349
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    never mind ... I'm an idiot


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
  •