Re: Using CSS to turn visited links another color

by "Rod Hutson" <rbhutson(at)telusplanet.net>

 Date:  Sat, 16 Oct 1999 11:02:03 -0600
 To:  <hwg-style(at)hwg.org>
  todo: View Thread, Original
Vickie...

You missed a semicolon after "color:#FF0000" in the following:

    A:hover {text-decoration: underline; color: #FF0000; font-family: Arial}

Just as an aside, you might want to keep your color choices within the
"Netscape palette" to avoid your page looking different in some browsers
than in others... this palette includes only the RGB colors: 00, 33, 66, 99,
cc, ff.  But this may not work with your overall page design as it is right
now.

Anyway, add the semicolon and give it a try... hope this helps you out.
Good luck with your design!!

Rod
rbhutson(at)ieee.org
http://www.telusplanet.net/public/rbhutson/index.htm

-----Original Message-----
From: Vickie Burt <vickie(at)icon.co.za>
To: hwg-style(at)hwg.org <hwg-style(at)hwg.org>
Date: 16 October, 1999 10:31 AM
Subject: Using CSS to turn visited links another color


>Hello everyone,
>
>I am new to using style sheets and would really appreciate some help.
>
>I am simply trying to turn visited links another color. I am using Explorer
>4.0 and Navigator Gold 3.0. to test my programs. I have included something
>in the <BODY> tag to cater for Netscape and it works fine. In Explorer, the
>active link will show as underlined but the visited link will not change
>color.
>
>Here is a sample:
>
><HTML>
><HEAD>
><TITLE> </TITLE>
>
><STYLE TYPE="text/css">
><!--
>     A:link {text-decoration: none; color: #0000CD; font-family: Arial}
>     A:visited {text-decoration: none; color: #800080; font-family: Arial}
>     A:hover {text-decoration: underline; color: #FF0000 font-family:
Arial}
>     -->
></STYLE>
>
></HEAD>
>
><BODY BGCOLOR="#FFE8BF" LINK="#0000CD" VLINK="#800080" ALINK="#FF0000">
>
>
>Can anybody please tell me why it doesn't work. I really would appreciate
>it.
>
>Many thanks,
>
>Vickie Burt
>VB Onsite.
>
>
>

HWG hwg-style mailing list archives, maintained by Webmasters @ IWA