Forums

CSS

This topic is locked

DIV HOVER

Posted 21 Feb 2011 10:49:23
1
has voted
21 Feb 2011 10:49:23 Denis Hoffmann posted:
Hi DMX Team,

how do you do the DIV Background-color Hover liek here:

www.dmxzone.com/index?3

Cheers
Denis

Replies

Replied 21 Feb 2011 15:22:10
21 Feb 2011 15:22:10 Patrick Woldberg replied:
All browsers except IE accept :hover for div element, so you can simply declare a hover state in css.

For IE you will require JavaScript to apply a hover style, you can for example use jQuery.hover() to toggle a hover class for IE.

Reply to this topic