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

Related Questions

I have three divs : <div id=login /> <div id=content /> <div id=menu />
I have three tables: page, attachment, page-attachment I have data like this: page ID
Is it possible to stack three DIVs vertically and have just the middle div
I have three divs: A, B and C. A is currently visible and I
I have a setup that requires a header div and a footer div to
I have a layout with a set of divs each containing three fields in
I have three tables tag , page , pagetag With the data below page
I have three models: class ReleaseItem < ActiveRecord::Base has_many :pack_release_items has_one :pack, :through =>
I have three unordered lists that have been created as Scriptaculous Sortables so that
I have three (C++) classes: Player, Hand, and Card. Player has a member, hand,

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.