RE: Ussing CSS to turn visited links another color
by Paul.Anderson(at)atos.co.uk
|
| Date: |
Mon, 18 Oct 1999 14:53:14 +0100 |
| To: |
vickie(at)icon.co.za |
| Cc: |
hwg-style(at)hwg.org |
| |
todo: View
Thread,
Original
|
|
Hi Vickie,
I think Tenley is right...
Try changing your style sheet to read:
<STYLE TYPE="text/css">
<!--
a:link { text-decoration: none; color: #0000CC }
a:visited { text-decoration: none; color: #663366 }
a:hover { text-decoration: underline; color: #FF0000 } -->
</STYLE>
I think that should work for both major browsers.
While I'm on, I don't suppose you've had any luck getting @font-face
rules to work properly have you?
Good luck with your style sheets.
Paul Anderson
Atos Sytems Analyst
paul.anderson(at)atos.co.uk <mailto:Paul.anderson(at)atos.co.uk>
tel 01706 89 1075
-----Original Message-----
From: Tenley Shewmake [SMTP:omb00642(at)mail.wvnet.edu]
Sent: Monday, October 18, 1999 1:26 PM
To: Vickie Burt
Cc: hwg-style(at)hwg.org
Subject: Re: Ussing CSS to turn visited links another
color
Hi Vickie,
I think that your reference to a: should be A:Link, and your
reference to
a:vlink should be A:Visited. I "THINK" that you could use A
without the colon,
but Netscape uses that to make your targets (A NAME="") do
things.
Vickie Burt wrote:
> <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">
> 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
}
>
> Vickie Burt
> VB Onsite.
--
Best Regards,
Tenley Shewmake
Altalab Instrument
http://www.altalabinstrument.com/
304 497 2756
HWG hwg-style mailing list archives,
maintained by Webmasters @ IWA
This page is part of a preserved archive of archives.hwg.org. The site is no longer active and its content is not maintained. For enquiries about this archive, write to archive(at)iwanet.org.