Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6644525
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T00:10:40+00:00 2026-05-26T00:10:40+00:00

I understand that there has been countless of question posted here regarding opacity issues

  • 0

I understand that there has been countless of question posted here regarding opacity issues on IE. I have gone through almost everyone of them and have tried almost every available method that I have managed to source to but nothing worked.

The strangest thing is that the opacity issue is an isolated case, occurring only on IE8; IE7 had no issues with it whatsoever. Before I proceed to speak more about the problem I’m facing, let me show you a sample of my markup in a single page HTML site that I am developing:

This is the CSS controlling the opacity for the DIVs in question:

#home, #services, #freeport, #about-us, #advantage, #contact{
        opacity:0;
        -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)";
        filter: alpha(opacity=0);
        width:400px;
        zoom:1;
    }

And this is the JQUERY I have used to control their opacity settings:

$(document).ready(function(){ //fades in the menu div first followed by the home div

    (function _loop( nodelist ) {
    $( nodelist.shift() ).fadeTo( 2400, 1, function() {
        _loop( nodelist );
    });
    }( ["#menu", "#home"] ));

    $("#about-us-button").click(function(){ //upon clicking the home button, fades in the home div and fades out the rest of the divs
          $("#about-us").fadeTo(900, 1);
          $("#home, #freeport, #advantage, #services, #contact").fadeTo(1000, 0);
    });

});

NOTE: I have only shown how the #about-us div fades in upon clicking the #about-us-button; the rest of the sections work the same way. Also left out the HTML because it’s pretty straight forward – DIV container holding some text, that’s it.

So applying the CSS styles mentioned above, I have managed to get the DIVs to appear at the correct instances in all the browsers (including IE7) except IE8.

What puzzles me most is that filter works in IE7, but -ms-filter which is supposedly IE8 specific failed to work. I’ve read about the HasLayout issue and applied all the methods to no avail. I have also made sure that -ms-filter came before filter but that didn’t work either.

I resorted to also making IE8 emulate IE7 with the meta tag method, but unfortunately, that failed as well.

It should be noted that I have marked this up as HTML5 and after running into this issue, I have marked it down to XHTML 1.0 Transitional and HTML 4.0, but nothing worked – not even the IE8 as IE7 method.

Anyone has any idea what could be done to resolve this? Thanks in advance guys!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T00:10:40+00:00Added an answer on May 26, 2026 at 12:10 am

    I ran into a similar issue not too long ago. I don’t remember the precise details, but I believe what happened was that jQuery would set an opacity value at the element level, constantly changing it as it faded in–and then once the fade was complete would leave the attribute there, but blank, overriding the CSS file opacity. You should be able to doublecheck this with Firebug or the Element Inspector in Chrome.

    I believe this is what I used to fix the error, forcing jQuery to clean up that attribute when it was done so the opacity attribute specified in my CSS file could actually take effect. Of course, tweak it to fit properly in your code.

    $("#darkbg, #popup-movie-panel").fadeIn(300, function(){
            if(jQuery.browser.msie) {
                this.style.removeAttribute('filter');
                }
            })
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I understand that the NUnit vs. MSTest question has been asked alot on SO.
Just to preface my question, I understand that there is no direct support for
I'm beginning and there is something that I don't understand with pointers. I have
My question is : Has there been any new advancement (or perhaps a tool/library
I know that this question has been done to death at StackOverflow and that
I understand that so long as data has been sent to the browser then
Referencing the code below, I have a list of Error objects that has been
Background: We have an application that has been in the works for over a
I understand that there are problems regarding running a WPF application from a console
I understand that there is a setting in Sun JVM for dumping the heap

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.