Topic: css a:hover to change background |
|
---|---|
Author | Thread |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() ![]() ![]() ![]() Using: |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() ![]() ![]() ![]() It works in Mozilla, just not IE. IE does tend to have poor support for pseudoclasses affecting anything other than a link itself. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() ![]() ![]() ![]() Hmmm...ok |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() ![]() ![]() ![]() Oh, you're right. Hmm. |
Maniac (V) Inmate From: there...no..there..... |
![]() ![]() ![]() ![]() just curious as to wether or not this has been figured out.................... |
Paranoid (IV) Inmate From: France |
![]() ![]() ![]() ![]() Pugzly: To get your style working in IE and Mz, you must remove the img tag name in the CSS, just like that : code: <style type="text/css"> Honestly I'm not exactly sure to know why it works than way and not yours. IE only supports the :hover pseudo class on the a tags but it also supports descendant selectors so your CSS should have worked...well, it must be another of IE's misteries. |
Paranoid (IV) Inmate From: 127.0.0.1 |
![]() ![]() ![]() ![]() |