Re: Mouseover and CSS

by "alvin" <alvin(at)trustix.co.id>

 Date:  Fri, 6 Oct 2000 16:02:43 +0700
 To:  "Jeremy Brown" <jeremy(at)localnetamerica.com>,
"HTML Writers Guild" <hwg-techniques(at)hwg.org>
 References:  localnetamerica
  todo: View Thread, Original
try this, it's work for me...

<style type="text/css">
A:link {text-decoration: none; color:black; font-weight:bolder}
A:visited {text-decoration: none;  color:black; }
A:active {text-decoration: none; color: #black; }
A:hover {color: white; background-color:blue}
 A.ff {text-decoration: none; color: #000000; }
 A.ff:visited {text-decoration: none; color: #000000; }
 A.ff:hover {color:#FF0000; }
 A:ff.active {text-decoration: none; color: #000000; }
</style> 

----- Original Message ----- 
From: Jeremy Brown <jeremy(at)localnetamerica.com>
To: HTML Writers Guild <hwg-techniques(at)hwg.org>
Sent: Friday, October 06, 2000 10:01 AM
Subject: Mouseover and CSS


> I am looking for code that will allow me to be able to highlight, or
> change the background color of, a hyperlink when mousing over it. When
> finished mousing over it, it would remain the same.  For instance:  I
> have a link with black text.  When mousing over it, I would like for the
> background to be highlighted blue, and the text color to change to
> white.  Then when I mouse over it I would like for the highlighting to
> go away, and the text color to return to black.  I know about the
> style=background-color: blue stuff, but I just haven't seemed to be able
> to get it to work the way I want.  I hope you all have some suggestions
> :-)
> 
> Thank you much.
> 
> --
> Jeremy Brown
> CTO,CIO
> Innovative Business Consultants, Inc.
> http://www.ibc2001.com
> USA: (937) 277-2000
> 1-800-398-3007
> 
> 
> 

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