• Hi ya

    Simple question….
    At the moment I have some CSS that makes the post background change color when its hovered over (works in Opera & Firefox anyway), can I get this to work with Explorer?

    .post:hover {
    background-color: #F0F8FF;
    }

    not that worried about it but was wondering πŸ™‚

Viewing 10 replies - 1 through 10 (of 10 total)
  • Only on link, not on anything else. Wait for IE7, and then MAYBE it will.

    Actually, it is possible to do this.

    From http://communitymx.com :

    Up until recently, CSS popup methods were limited to the hovering of links because that was the only type of element Internet Explorer for Windows was able to “hover.” Things are a little different now, because we can hover elements other than links, and that includes real block elements!

    This is one part of a six part series of articles. It’s not free, however.
    http://www.communitymx.com/abstract.cfm?cid=202A2

    OH, gads. First, there were the blinkings, and then the moving and shaking, and then the SOUNDS…and now we have the everything has a hover…..Okay, things are getting too bling bling on the net. I quit.

    Actually the potential for this is exciting. Like anything, over-use makes it ugly, not the technique itself.

    Thread Starter wiredkiwis

    (@wiredkiwis)

    Thanks for the answers,

    NuclearMoose: your link sent me hunting and I found a link that I might have a go at later

    whatever:hover
    http://www.xs4all.nl/~peterned/csshover.html

    many thanks πŸ™‚

    Actually the lack of support for :hover on anything but anchors in IE is a frustration, it’s wrong to think of the ability as just pointless “bling bling” .

    If :hover was supported on all elements then the ‘Suckerfish’ menu would function without reams of Javascript to overcome one little oversight in IE.

    The csshover.htc file works well enough bearing in mind that it is Jscript and would be prone to the same drawback that Javascript could have in scripting being disabled client side which is slim as most IE users seem generally unaware how to disable it.

    If validation is an issue you can wrap either the link to the behaviour or the body tag inline style, in MS Conditional Comments
    to hide it from the validators.

    HugoA. A very big welcome to the WP forum πŸ™‚

    Thanks for the welcome Root, I’ve posted in the past, but not for a while, most of my time taken up with duties on another forum.

    I would also like to say that it’s good to see yourself back in the frame so to speak and glad your blogs back up and running for much needed perspective.

    Hugo.

    Great discovery, and I concur with the sporadic, but actual use of hover. It can be a very nice effet if used in modicum. Hoever over every single element would be awful, but I have yet to see anyone do this. It’s a useful CSS element, rather than anything bling. In which case where to draw the line on what you use in CSS? Stick to CSS and not Javascript if at all possible.

    Thread Starter wiredkiwis

    (@wiredkiwis)

    well… I’ve decided not to bother with it (for now!)
    for this pointless blog anyway

    Just a little less color for Explorer users, no big deal.

    Its interesting to see that it can be done in a round-about way though.

    i hope my blogs not too ‘bling bling’ for Firefox & Opera users πŸ˜€

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘Can I make Explorer .post:hover with CSS’ is closed to new replies.