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

IE suckerfish problem

Posted on 2006-10-22
4
540 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

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
is this a cms? 8 67
Overlap photo won't go all the way to the right 1 23
A simple Float not working. 5 25
SlickNav Menu Plugin Not appearing on mobile 6 53
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
CSS is a visual language used to classify objects and define rules about how they should be displayed. CSS skills aren’t restricted to developers anymore, there is a big benefit to having a basic understanding of the language, regardless of your occ…
In this tutorial viewers will learn how to position items using CSS's three positioning types Create a new HTML document with an internal stylesheet.: Create another div in CSS and name it Absolute : Type "position:absolute;" and "top:10px; left:50p…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

809 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