Current location: Hot Scripts Forums » General Web Coding » CSS » Odd Z-Indexing Issue im running to with IE


Odd Z-Indexing Issue im running to with IE

Reply
  #1 (permalink)  
Old 09-14-06, 06:15 PM
nova912's Avatar
nova912 nova912 is offline
Code Guru
 
Join Date: Sep 2004
Location: Traverse City, MI, USA
Posts: 821
Thanks: 0
Thanked 0 Times in 0 Posts
Odd Z-Indexing Issue im running to with IE

i have <divs> that are floating boxes that hover with the mouse. This is working almost perfectly accept im running into a z-indexing issue with IE only. Its seems any <select> element is always on top.

I have tried the following to try and corret the issue.
Code:
<div>
<select>[options]</select>
</div>
// or
<div style="position: absolute">
<select>[options]</select>
</div>
// or
<div style="position: absolute; z-index:1">
<select>[options]</select>
</div>
//or
<div style="position: relative">
<select>[options]</select>
</div>
No matter what the select menu always trumps the floating <div> with a z-index of 100.

Is this an IE bug i am running into, and if so are there any work arounds?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 09-16-06, 04:21 PM
jfulton's Avatar
jfulton jfulton is offline
Community VIP
 
Join Date: Apr 2006
Location: Los Angeles, CA
Posts: 660
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, this is an IE issue. There are two solutions that I know of. The first is to hide the select so it doesn't show up "through" the div. The second solution is a bit more intense, but is much better aesthetically. Selects won't show up through iframes - so you add an iframe behind the "floating" div to block the select. I can't find the exact link that I've used before to do this, but if you google "iframe shim select" or something like that, you'll probably find something.

If I find the link, I'll post it here.

HTH
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
css issue darkcarnival CSS 4 10-11-05 09:35 PM
Issue Tracking and Task management SlackeR Script Requests 8 10-05-05 05:29 PM
Language issue in from property, Please Help AskAR ASP 0 08-10-05 07:40 AM
Running Text stripe at the bottom of video player moRpHeus Visual Basic 0 12-19-04 01:54 PM
Indexing Server with .Net rranly ASP.NET 2 02-13-04 09:49 AM


All times are GMT -5. The time now is 10:23 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.