On 23/1/09 21:28, Dermot Ward wrote:
I think this is a css problem, but if it's not I apologise in advance.

I'm trying to style a php input tag for hover and it works great in
Firefox and Opera but alas not in IE6 which is
the version I use for testing IE, on the assumption that if it works in
6 it should work in more recent versions.

IE6 only supports the ":hover" selector on links ("a href").

When the client has JS enabled, you can fake ":hover" support in IE6 by adding and removing a "hover" class on "mouseenter" and "mouseleave" events and styling ".hover" as well as ":hover":

http://www.quirksmode.org/js/events_mouse.html

http://fn-js.info/snippets/addevent

--
Benjamin Hawkes-Lewis
______________________________________________________________________
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