Re: visited vs. hover [was:Re: classes not cooperating]

by KeithWBell(at)aol.com

 Date:  Fri, 7 Jan 2000 21:18:29 EST
 To:  wistfulee(at)hawaii.rr.com,
hwg-techniques(at)hwg.org
  todo: View Thread, Original
Lady Wistfulee

Isn't insomnia wonderful? (It's 2 a.m. in the UK.) I took a look at your 
style sheet in more detail; if you re-format the links bit as below I think 
you'll find it works the way you want. It could probably be written with a 
bit less redundancy, but hey, it works:

A:link {
 font-size: 14pt;
 font-family: "Tempus Sans ITC", Verdana, Arial, Sans-serif;
 color:#0080FF;
 text-decoration: none;
 }

A:visited {
 font-size: 14pt;
 font-family: "Tempus Sans ITC", Verdana, Arial, Sans-serif;
 color:#66B3FF;
 text-decoration: none;
 }

A:hover {
 font-size: 14pt;
 font-family: "Tempus Sans ITC", Verdana, Arial, Sans-serif;
 color: #0482FF;
 text-decoration: underline;
 }

.newcolor {
    font-size: 10pt;
    font-family: "Tempus Sans ITC", Verdana, Arial, Sans-serif;
    text-align: center;
 }

.newcolor A:link {
 font-size: 10pt;
 font-family: "Tempus Sans ITC", Verdana, Arial, Sans-serif;
 color:#0080FF;
 text-decoration: none;
 } 
 
.newcolor  A:visited {
 font-size: 10pt;
 font-family: "Tempus Sans ITC", Verdana, Arial, Sans-serif;
 color:#66B3FF;
 text-decoration: none;
 }

.newcolor A:hover {
 font-size: 10pt;
 font-family: "Tempus Sans ITC", Verdana, Arial, Sans-serif;
 color: #F0F0F0;
 text-decoration: none;
 }

Regards
Keith Bell

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