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 8544055
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T12:27:38+00:00 2026-06-11T12:27:38+00:00

I came across a very interesting issue in IE9. When using filter: alpha(opacity=) or

  • 0

I came across a very interesting issue in IE9. When using filter: alpha(opacity=) or -ms-filter css property on a wrapping div the box model of the inner block elements get corrupted. In other words the collapsing of vertical-margin gets disabled and vertical-margin is added instead. I’m facing this issue only in IE9. IE7/8 is not affected.

Here’s a jsFiddle with the isolated issue. Use the trigger anchor to activate the class that includes filter: alpha on the wrapping div. (IE9 only)

Any ideas why this is happening?

Thanks in advance

  • 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-06-11T12:27:39+00:00Added an answer on June 11, 2026 at 12:27 pm

    Any filter seems to do this ( jsfiddle.net/7BFd7 ).

    I could only hypothesize about why it does that. It seems like using a filter sets the element to use some unknown display or position mode that doesn’t do margin collapsing (like position absolute, inline blocks and floated or cleared elements).

    anyway.. If you just want to hide that element, you could use visibility: hidden, which has the same effect as opacity: 0 and is supported everywhere.

    If you want to animate the opacity, you’ll have to do browser sniffing through conditional comments or Normalizr and animate opacity in IE9 and apply the filter in older IE versions.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just came across a very interesting issue. If I use ViewData to pass
I've recently came across a very interesting inconsistency while using libxml++ (a C++ wrapper
Today I came across a very strange JavaScript regular expression issue. When using the
I came across a very interesting book. I have done some 2d games but
I have came across very interesting problem which I think it's on Salesforce's end
I have came across a very interesting problem. I have a UILabel and a
I came across a very weird issue where in my querystirng had ++ as
I came across this very interesting question? I have 300 million SSN numbers (9
Interesting issue we came across here this week. We are working in C on
I came across a jQuery lightbox plug-in called PrettyPhoto. Seems very interesting. At the

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.