Re: Using CSS to turn visited links another color

by "Cindy Stanley" <stanleysupport(at)prodigy.net>

 Date:  Sun, 17 Oct 1999 12:42:22 -0400
 To:  <hwg-style(at)hwg.org>
  todo: View Thread, Original
From: Vickie Burt <vickie(at)icon.co.za>
>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.

><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>

><BODY BGCOLOR="#FFE8BF" LINK="#0000CD" VLINK="#800080" ALINK="#FF0000">

I have been using spaces after the first bracket and before the last
bracket.

A:visited { text-decoration: none; color: #000000; font-family: Arial }

Does this make a difference? Anyone? Also, does it make a difference if
you have more spacing before closing your comment tag (for example,
using the tab key to move over the -->?

And, yes there is a semi-colon missing in your hover, as others have
replied.

--
Cindy K. Stanley

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