Hello,

you can do that with the pseudo class "hover":
http://www.w3.org/TR/CSS21/selector.html#dynamic-pseudo-classes

But be aware that not every browser supports that class for every element.
Older browsers might not support it at all, or only for links.

Regards,

Christian
Directmedia Publishing GmbH · Möckernstraße 68 · 10965 Berlin
www.digitale-bibliothek.de
AG Berlin-Charlottenburg · HR B 58002 · USt.Id. DE173211737
Geschäftsführer: Ralf Szymanski · Erwin Jurschitza
 

> -----Ursprüngliche Nachricht-----
> Von: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] Im Auftrag von 
> Scott Thigpen
> Gesendet: Freitag, 30. November 2007 05:30
> Cc: css-d@lists.css-discuss.org
> Betreff: [css-d] css hover question
> 
> Hi,
> 
> I don't have a site to show you but I have a question.  I'd 
> like to be able to rollover a div and when I hover over it, 
> it changes color.  Is this possible to do in CSS?  It would 
> not be a hyperlink (to go anywhere), I'd just like for a when 
> a client rolls their mouse over an area, it highlights.
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED] 
> http://www.css-discuss.org/mailman/listinfo/css-d
> List wiki/FAQ -- http://css-discuss.incutio.com/ List 
> policies -- http://css-discuss.org/policies.html
> Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
> 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to