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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T17:04:29+00:00 2026-05-20T17:04:29+00:00

I am using JQuery to show/hide a div. It works fine in most browsers

  • 0

I am using JQuery to show/hide a div. It works fine in most browsers except IE6. When I show the div, it ends up hidden behind the other divs instead of on top of them.

You can see what I mean here: http://www.urlgone.com/d055c5/ (http://old.solesurvivorleather.com/static_product.html).

If you mouse-over email list on the top right menu you will see the hidden div ‘listform t’ slides down and shows on top, but in IE6 it slides down behind the body-wrapper div.

Here is the CSS Code for both divs:

#listform {
    background-color:#F4F4EF;
    border:1px solid #8F8A7E;
    display:none;
    margin:0;
    max-width:150px;
    padding:10px;
    position:absolute;
    right:0;
    text-align:left;
    top:30px;
    width:150px;
    z-index:999;
}
#body-wrapper, #utility-wrapper {
    margin:0 auto;
    position:relative;
    width:950px;
}
#body-wrapper {
    background-color:#FFFFFF;
    border:0 solid black;
    position:absolute;
}
  • 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-20T17:04:30+00:00Added an answer on May 20, 2026 at 5:04 pm

    IE doesn’t pay attention to z-index in an intuitive way when it comes to positioned elements. If you move your #listform element to the end of the code (just before </body>) IE should render things properly.

    Alternatively, you can place your #listform element inside the end of your #body-wrapper (just before the </div>.) This will place the element higher in the stack than all the items it needs to overlap. Since the width of the #body-wrapper is fixed, it should provide a stable offset calculation regardless of user window size.

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

Sidebar

Related Questions

I am using jQuery to show/hide a div container (#pluginOptionsContainer), and load a page
I'm using jQuery to hide and show elements when a radio button group is
So far, I've seen (and I'm using the following) scripts to show/hide a div
I am firing an Ajax request using jQuery. During the process, I show a
Using jQuery, how do I delete all rows in a table except the first?
I have a div with a child div inside it. I'm using jQuery to
I 've created a small photo tour using HTML, CSS and jQuery. It works
I built some simple tabs, which when clicked, show a hidden div. Very simple.
Using jQuery , how can I dynamically set the size attribute of a select
Using jQuery, how do you bind a click event to a table cell (below,

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.