Grow your CSS skills. Land your dream job.

mouseover alpha good, but not in IE…

  • # September 8, 2009 at 4:46 pm

    Hi Guys,

    I have just joined after searching the web for the past 5 days for my answer. I am trying to use a mouseover effect within a div container. Works fantastic in Firefox & Safari, but IE, well… just sucks

    here is the code:

    Code:
    onmouseover="this.style.opacity=1; this.filter.alpha.opacity=100"
    onmouseout="this.style.opacity=0.75; this.filter.alpha.opacity=75">

    Header
    A short piece of text can go here…

    The website: http://www.wukkiweb.co.uk

    Any help is welcome, I’m pulling my hair out!

    # September 8, 2009 at 4:51 pm

    Any particular reason you gotta do it with all inline javascript like that? That’s pretty nasty lookin’ :!:

    CSS can handle opacity just fine, or if you wanna go the JS route, jQuery handles opacity swimmingly.

    # September 8, 2009 at 4:57 pm

    What would be the best way in doing this?

    I’m starting to get into java or how would I do this in CSS?

    Cheers

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".