A Digital Age Deserves A Digital Leader

Z-indexes are fine... so WTH is IE doing?

Z-indexes are fine... so WTH is IE doing?

Postby kanaloa » Wed Sep 05, 2007 12:52 am

OK, I'm officially confused. I have all my z-indexes working, and I know they are working bc they work in IE and FF (all versions). All my drop down menus show up IN FRONT of the primary image (the big image).

Problem is that when I remove the primary image using the nifty script I found a few weeks ago, the drop down menus for each nav button are suddenly behind my body content again. At first I thought the menus were trying to appear in the same space as the hidden primary image content. But then I removed the code for the primary image and discovered the drop down menus ARE in fact hiding behind the body content.

So if my z-indexes are IDENTICAL for the primary image and body content and are IDENTICAL for the nav bar... why the hell do they disappear behind the body? It ONLY happens in IE (all versions).

www.hawaiianstyle.org

Working...
<img src="http://www.pro-networks.org/main/images/blurb/working.jpg">

Not Working...
<img src="http://www.pro-networks.org/main/images/blurb/not_working.jpg">
"Greatness is not a function of circumstance. Greatness, it turns out, is largely a matter of conscious choice, and discipline." - Jim Collins
President
User avatar
Posts: 11795
Joined: Sun Mar 10, 2002 1:18 am
Location: HI & SC
Real Name: John Derrick

Postby kanaloa » Wed Sep 05, 2007 2:15 am

It never fails... I post, I figure it out.

The fix was setting a conditional IE statement to make the z-index of the body "-1"

Has to be conditional else FF will completely hide the body. LOL, not very useful.

Did I mention I hate IE?
"Greatness is not a function of circumstance. Greatness, it turns out, is largely a matter of conscious choice, and discipline." - Jim Collins
President
User avatar
Posts: 11795
Joined: Sun Mar 10, 2002 1:18 am
Location: HI & SC
Real Name: John Derrick

Postby Grav!ty » Wed Sep 05, 2007 2:18 am

hehe...I just checked in IE7 and couldn't see a problem with the menu's, so I guess it was after you figured the fix ^*^
Image

"The great majority of mankind are satisfied with appearances, as though they were realities, and are often more influenced by the things that seem than by those that are." - Niccolo Machiavelli
PROfessional Member
User avatar
Posts: 15790
Joined: Tue Sep 14, 2004 5:22 am
Real Name: Graham

Postby kanaloa » Wed Sep 05, 2007 2:34 am

Grav!ty wrote:hehe...I just checked in IE7 and couldn't see a problem with the menu's, so I guess it was after you figured the fix ^*^


Glad you confirmed that, I'd forgotten to recheck with IE7. Usually IE6 is the bugger to worry about. When I reformatted I didn't even upgrade to IE7, just so I could keep testing IE6.
"Greatness is not a function of circumstance. Greatness, it turns out, is largely a matter of conscious choice, and discipline." - Jim Collins
President
User avatar
Posts: 11795
Joined: Sun Mar 10, 2002 1:18 am
Location: HI & SC
Real Name: John Derrick

Return to HTML, CSS, and Scripts

Who is online

Users browsing this forum: No registered users and 10 guests

cron
cron