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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:43:37+00:00 2026-05-10T23:43:37+00:00

I have three DIVs, something like this: <div id=header> … </div> <div id=content> <div

  • 0

I have three DIVs, something like this:

<div id='header'>     ... </div> <div id='content'>     <div id='popup'>         ...     </div> </div> 

DIV#header is ‘position: fixed’ and used as a non-scrolling header at the top of the screen. DIV#content has some content in it and is ‘position: relative’. DIV#popup is ‘position: absolute’ and starts out hidden and is displayed on hover.

I want the popup to be at the highest level on the page, so that it is above even DIV#header if they overlap. This works fine in Firefox but in IE the popups are behind the header. I can fix this by setting the z-index of DIV#content to be higher than the header, but then of course DIV#content will also be displayed above DIV#header when they overlap, which I don’t want.

It sounds like I might be affected by what is described on this page. However, as I understand it, doing something like setting a default z-index on all elements, like so:

* {     z-index: 1 } 

should fix this (as now every element would have a z-index of 1 explicitly set), however rather than fixing this in IE it breaks it in Firefox (such that Firefox now behaves like IE).

What’s the real deal with z-indexes in IE?

  • 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. 2026-05-10T23:43:38+00:00Added an answer on May 10, 2026 at 11:43 pm

    There’s a bug in IEs, which I think is being fixed with IE8, where the z-index stack is reset for each position relative context, which exists in the page. Meaning z-index within different relative positioned containers are independent.

    The error you describe is probably related. Try to replace the position relative by positioning the popup on mouse click position.

    Another link: http://therealcrisp.xs4all.nl/ie7beta/css_zindex.html

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

Sidebar

Ask A Question

Stats

  • Questions 151k
  • Answers 151k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Actually the design you described (common table plus subtype-specific tables)… May 12, 2026 at 9:56 am
  • Editorial Team
    Editorial Team added an answer I'd normally throw InvalidOperationException or ArgumentOutOfRangeException depending on where the… May 12, 2026 at 9:56 am
  • Editorial Team
    Editorial Team added an answer From the tutorial you are reading: So, application flow control… May 12, 2026 at 9:56 am

Related Questions

I have three DIVs, something like this: <div id=header> ... </div> <div id=content> <div
I've been a web developer for really quite some time now, but this is
I have a list of items that I want to be laid out horizontally.
I have a tagcloud in wich the tags (in Divs) should float centered. There
Here is my scenario. I have a container div that has (n) child elements

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.