Re: Ussing CSS to turn visited links another color

by "Vickie Burt" <vickie(at)icon.co.za>

 Date:  Mon, 18 Oct 1999 08:00:05 +0200
 To:  <hwg-style(at)hwg.org>
  todo: View Thread, Original
Many thanks to all who responded to my query and set me straight on which
link is the active one.

I have amended the text to read:

<STYLE TYPE="text/css">
<!--
     a: { text-decoration: none; color: #0000CC }
     a:vlink { text-decoration: none; color: #663366 }
     a:hover { text-decoration: underline; color: #FF0000 } -->
</STYLE>

</HEAD>

<BODY BACKGROUND="expbk.jpg" BGCOLOR="#FFE8BF" LINK="#0000CC"
VLINK="#663366" ALINK="#FF0000"
TOPMARGIN="2">

Would it make a difference if the <STYLE> tags came before or after
<script language="JavaScript"> tags ?

I have tried various combinations and it appears that the <STYLE> tags are
only using the a:hover, and taking the rest of the information from the
<BODY> tags. What would make the program ignore the first two lines of code
ie:

              a: { text-decoration: none; color: #0000CC }
              a:vlink { text-decoration: none; color: #663366 }


I have this same code running on two different pages and it works on one,
and not the other. The one working is the left hand frame of a <FRAMESET>.
The contents of the left frame are links to information displayed on the
right frame, and these links do turn purple when visited. The other page is
stand-alone and has a
<script language="JavaScript"> </script> before the <STYLE> tags. I have
tried swapping them around, but if doesn't appear to make a difference.

Any more suggestions would be very welcome.

Vickie Burt
VB Onsite.

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