Solved

IE suckerfish problem

Posted on 2006-10-22
4
542 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
[X]
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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Problem to refer to value 8 81
ASP.NET Content Page 3 52
CSS Won't Show Up On Drupal Omega Sub-Theme 1 12
toggle content 12 25
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 discusses four methods for overlaying images in a container on a web page
In this Micro Tutorial users will learn how to embed custom fonts into websites using @font-face in CSS Select a font: Ensure the EULA allows you to use @font-face: Download the font: Get the browser-compatible files you need: Edit your CSS       - Name …
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…

733 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