Solved

Z-index issue with dropdowns and rotating images - IE7

Posted on 2010-08-24
3
342 Views
Last Modified: 2013-11-19
I am working on this site: http://capitalsoccer.net/ and I am using a dropdown plugin and the jquery cycle plugin.

The dropdowns are appearing under the images when they rotate. I added z-index:999

.sf-menu ul {
      position:            absolute;
      z-index: 999;
      top:                  -999em;
      width:                  10em; /* left offset of submenus need to match (see below) */
}

But that didnt seem to work. The images after page load have a z-index of 5 so the images should be below the dropdowns. Any ideas?

I have also tried this bug fix and nothing yet: http://brenelz.com/blog/squish-the-internet-explorer-z-index-bug/

Thanks,

Ryan
0
Comment
3 Comments
 
LVL 9

Accepted Solution

by:
CCSOFlag earned 500 total points
ID: 33515373
I have run into this problem before also.  You must specify the zindex of all containing divs.  Otherwise IE will paint the next div over the previous one even if inside the first div you specify a zindex.  Yet another reason I hate IE.

For your header div give it an index higher than the index of your content div for example.    You may even ahve to give all divs inside zindexes also.

Also beware that you may need to give your body a zindex too, because sometimes what'll happen is you can see the menu but can't click on the links because the body ends up on top of the menus.  It's weird, and I never understaood why, but give it a try and let me know if it works for you.
0
 
LVL 16

Expert Comment

by:s8web
ID: 33516866
You also have an extra closing </div> tag somewhere, possibly near the end of the page. That could cause issues too.
0
 
LVL 4

Expert Comment

by:senthilkumarsb
ID: 33627215
Did you get an answer for your question? Please let me know, I am also facing the same issue.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article describes how to create custom column layout styles for Bootstrap. The article uses 5 columns to illustrate the concept, but the principle can be extended to any number of columns.
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

910 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now