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

  • Home
  • SEARCH
  • 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 6987309
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T18:55:12+00:00 2026-05-27T18:55:12+00:00

In IE7 browser, I just meet one issue about position. I made a demo

  • 0

In IE7 browser, I just meet one issue about position.
I made a demo page to test the position conditions of relative and absolute.
There are the related codes below:

[CSS]

.rela{
    width:200px;
    height:100px;
    background:#EEE;
    margin-bottom:10px;
    position:relative;
}
.abs{
    width:50px;
    height:50px;
    position:absolute;
    background:#333;
    left:20px;
    top:80px;
    z-index:10;
}

[HTML]

<div class="rela"><div class="abs"></div></div>
<div class="rela"><div class="abs"></div></div>
<div class="rela"><div class="abs"></div></div>
<div class="rela"><div class="abs"></div></div>

Now, the problem is, in IE7 browser, the “abs” element is covered by the next “rela” element, but it displays well in other browsers like Firefox, chrome, IE8.
I know somebody said that we can add a more higher z-index to the parent “rela” element, but for the codes above, the issue can’t be fixed in this condition, coz there are more than two rela elements and all of them have the abs element.

I have no idea about how to fix it now. Also, if someone could kindly provide a official explanation about this “bug”, it will be so good.

enter image description here

  • 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-27T18:55:13+00:00Added an answer on May 27, 2026 at 6:55 pm

    The same question was asked here.

    Don’t ask me why, but the last answer there seems to fix the problem (though you’ll need jQuery or the like):

    http://jsfiddle.net/Xmznn/1/

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

Sidebar

Related Questions

I have a problem on my site's login page in IE7 browser. One of
I want to only allow users with IE8 (not IE6, IE7) or another browser
I am writing a Browser Helper Object for ie7, and I need to detect
When using a browser to transform XML (Google Chrome or IE7) is it possible
I'm having an issue with IE7. In IE6, Firefox and other browsers, the DIV
This piece of code works for every browser except IE7. In IE7, the user
I have an issue with onbeforeunload. I just want to delete some tables' data
I'm a software developer. The only browser I have at work is IE7. I
I have an ASP.NET web application, which operates just fine on IE7, IE8, IE8(Compatibility
I'm having a strange issue. I am using Internet explorer 9 and just changing

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.