Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

I have a javascript context menu (Div element). When try to popup menu over asp:ListBox or HTML <SELECT> element the menu stay behind and ListBox is on top of it. Is this some kind of IE bug?

Thank you.

Posted

IE bug!

 

Yes this is an Internet Explorer bug:

 

CSS Properties

 

Internet Explorer 5.0+

SELECT lists do not obey the normal z-index stacking order. Nothing can be placed "on top of" a SELECT list unless it is another SELECT list with a higher z-index. Other elements are always rendered below SELECT lists, even if they are given a higher z-index value than the SELECT. (IE4 has this behavior too, but it can't even render other SELECT lists properly with z-indexes assigned.)

 

In other browsers you can specify the CSS z-index so that the div element has a higher index.

Never trouble another for what you can do for yourself.
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...