quick question:
with an
li:hover {} stlye if I have a background image for the li base style can I change the background image with hover?
I havent been able to see that yet, so do I need to be using javascript with onMouseOver?
quick question:
with an
li:hover {} stlye if I have a background image for the li base style can I change the background image with hover?
I havent been able to see that yet, so do I need to be using javascript with onMouseOver?
You can achieve this in FF, but IE does not support the ":hover" pseudo class with the exception of anchors (a href).
I suppose if you really wanted a background image rollover within your "li", then you could make it a link, specify the rollover image, make the destination "#", and specify the cursor as "default" or "arrow".
This way most people wouldn't really realize that it was technically a link, but that's just kind of messy if you ask me. I don't fully understand why Microsoft decided not to jump on the bandwagon regarding the ":hover" pseudo class, but I guess when you have that much money lining your pockets, why worry about keeping up with the other guys?
Hope this helped.
--------------------------------------------------Reviews, Interviews, Tutorials, and STUFF--------------------------------------------------Home of the SexyBookmarks WordPress plugin
Thanks, Im only worrying about FF functionality right now as im in the inital stages. I think I had just forgotten to upload the new css sheet, the hover effect started to work just fine.
As far as IE there is a hover hack fix that I found that does a javascript replace.
Bookmarks