Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Z-index issue with dropdowns and rotating images - IE7

Posted on 2010-08-24
3
346 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
edit .asp files 5 30
Create an automated page index 9 47
Selected in an option list 13 19
message Alert on an empty search 10 17
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how to style a decorative dropcap for the first letter in a paragraph using CSS. In CSS, create a new paragraph class by typing "p.fancy": Then, to style only the first letter of the first sentence, include the ps…
The viewer will learn how to count occurrences of each item in an array.

808 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