Click to See Complete Forum and Search --> : CSS :hover in IE
Loopy
08-22-2006, 05:16 PM
I'm currently doing a site that requires div background changes upon rollover. It looks great in Firefox, unfortunatly this is one of those things that doesn't work in IE. :rolleyes:
I was wondering if anyone knew of a work around for this? I'm doing some research on the web but haven't found anything yet.
Thanks,
Loop.
chris_bcn
08-22-2006, 05:26 PM
in IE6 you can only use :hover on anchor elements - IE7 you can hover on any element
Have a look at http://www.xs4all.nl/~peterned/csshover.html - it involves usin behaviours
Loopy
08-22-2006, 05:35 PM
Thanks, Is it possible to link divs?
JPnyc
08-22-2006, 06:26 PM
Link divs?
Loopy
08-22-2006, 06:31 PM
yeah to another page. I have 3 small divs on the left side of the page. Each div has a thumb and some text. When rolledover the bg turns grey. (well in firefox anyways). But in IE it does nothing. So if the over will work for a link... could I link the div? To get the rollover?
I'm kind of a css newbie :p
I downloaded ie7, the div hover still do not work. I had to uninstall it because it screwed up my computer! And I could no longer connect to my FTP :mad:
ecsyle
08-22-2006, 06:33 PM
Why use divs when you have perfecetly capable anchor tags?
Loopy
08-22-2006, 06:38 PM
I guess I'm a little confused on what anchor tags can do. I was under the impression that they are just for text links.
JPnyc
08-22-2006, 06:46 PM
No, you can put an anchor tag around an image too, and make the image a link.
Loopy
08-22-2006, 06:51 PM
I knew that, I guess I wasn't really thinking it could be used as the same thing.
Loopy
08-22-2006, 06:52 PM
thanks for the direction guys :)