Solved

IE suckerfish problem

Posted on 2006-10-22
4
537 Views
Last Modified: 2012-06-27
On this page you can see that IE ignores the z-index of the suckerfish dropdown and I can see the text over the dropdown

http://blue-fly.co.uk/trisco/test.php

the css

http://www.blue-fly.co.uk/trisco/css/


It is fine on safari and firefox.



Any ideas?
0
Comment
Question by:roscoeh23
  • 2
4 Comments
 
LVL 4

Expert Comment

by:Oneiroid
ID: 17785713
Please post some code.

If you are using the same model as in the suckerfish examples, try adding:

#nav * {
      z-index: 999;
}

This works for all browsers I've tried it on. It won't work if your offending overlapping divs if they have a z-index greater than 999 though ;)  Check that out too.
0
 

Author Comment

by:roscoeh23
ID: 17787299
This doesn't work. I have also created an absolute version where everything inside the main (relative) container is absolutely positionined and contains z-indexes but ie 6 still ignores this.


http://www.blue-fly.co.uk/trisco/abs.php


http://www.blue-fly.co.uk/trisco/css/abs.css
0
 
LVL 20

Expert Comment

by:dsacker
ID: 17789167
You don't need to post code. This is a well-known error. IE sets an unbeatable z-index on the <SELECT> drop down object.

Some (certainly not all) of the ways you can defeat that are to (1) put it out of the way of your drop down menu, or (2) embed your <SELECT> drop down in an IFRAME (yeah, I know ... yuk).

FireFox and Safari behave properly on this one.
0
 
LVL 4

Accepted Solution

by:
Oneiroid earned 500 total points
ID: 17789904
dascker: roscoeh23 does not seem to be having any problems with a select element.

roscoeh23: the first thing that I notice, is that it your list has an id of 'nav', but you have no nav style in your CSS. Rather, you are designating the styles under #header instead? This is why my previous suggestion wouldn't have worked for you. Try this instead:

#header * {
     z-index: 999;
}

Although, li ul is not designated with #header. Make sure to fix this (also for consistency). It seems that you have IDs on some of your li tags for some reason.

Additionally, you are having this same overlap issue between menu items. You will have to address the z-index values here, too, or have them open below the node. Now, I am look at this on IE7. When I look at it on IE6, the menus do open below the node but I cannot navigate to them. You are going to have to apply the IE fix to your menu as well.

I think to make your menu completely browser cross-compatible, you should revisit the original suckerfish article. I am running a few of these menus now and have never had x-comp problems like this. Also, take a look at the consistency of your CSS.
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

Title # Comments Views Activity
how to get responsive video to always be centered 15 63
Element alignment and word wrapping 9 61
Capture logon name 11 31
Change javascript css 1 19
Introduction A frequently asked question goes something like this:  "I am running a long process in the background and I want to alert my client when the process finishes.  How can I send a message to the browser?"  Unfortunately, the short answer …
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.
In this tutorial viewers will learn how to style different bullet points for unordered lists in CSS. Begin with a normal unordered list; the default bullet point is a solid circle: In the CSS, create a defined class of unordered list by typing "ul.S…
In this tutorial viewers will learn how to style rounded corners for elements in CSS using the border-radius property Begin with a normal styled element such as a div: To style all four corners of the div to be the same degree of roundness, use the …

911 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