RE: Changing Text Color with a mouse over without a link

by Chuck Evans <Chucke(at)captura.com>

 Date:  Thu, 30 Nov 2000 13:26:18 -0800
 To:  "'Barnes,
David (D.)'" <dbarne20(at)visteon.com>,
"'hwg-techniques(at)hwg.org'" <hwg-techniques(at)hwg.org>
  todo: View Thread, Original
This answer does not address the usability issue of the user EXPECTING the
hover effect to indicate a link.

I tried creating a class:

.test:hover { color:red; }

and then using a span tag with the class=test around a word and it didn't
work.

However, you could always create an anchor class, for example:

a.test:hover { color:red; }

and then put an anchor tag around your text, but point the href at # so the
link doesn't work.



Chuck Evans 
Captura, Inc. 
(425) 803-8355 
http://www.captura.com



-----Original Message-----
From: Barnes, David (D.) [mailto:dbarne20(at)visteon.com]
Sent: Thursday, November 30, 2000 12:21 PM
To: 'hwg-techniques(at)hwg.org'; 'hwg-basics(at)hwg.org'
Subject: Changing Text Color with a mouse over without a link


Hey I was wondering if there was any way to change the color of regular (not
linked text) in response to a mouse over.

TIA, to anyone who can answer this question.  (note the change has to be
done with a css style sheet since that is the only access I have to
affecting the text properties at this time.

Dave Barnes 

Body, Safety, and Security Lab 
Room LS-115C 
313-755-1360 
dbarne20(at)visteon.com  

HWG hwg-techniques 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.