Sub Menu appears behind iFrame in IE

A place for discussion about skinning and design. Before posting questions here you should review the documentation about creating skins.

This thread is closed to new posts. You must sign in to post in the forums.
10/9/2012 4:46:41 PM
Gravatar
Total Posts 62

Sub Menu appears behind iFrame in IE

All Sub menu items appear behind iFrame in IE, but wroks fine in Chrome. I've tried to find an answer to this, but so far no luck. Isn't there a fix for this?

One of the things I tried as suggested was to use low z-index, but that didn't do anything.

10/9/2012 4:53:52 PM
Gravatar
Total Posts 216
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Sub Menu appears behind iFrame in IE

Are you using superfish to produce the sub-menu items?

Can you supply a link to the page where you have this issue?

10/9/2012 5:40:03 PM
Gravatar
Total Posts 62

Re: Sub Menu appears behind iFrame in IE

I don't have external IP for it yet. Also, this is using modified artisteer template that comes with mojoportal and the menu that came with it.

10/9/2012 5:47:42 PM
Gravatar
Total Posts 216
Community Expert

mojoPortal Hosting & Design @ i7MEDIA!

Re: Sub Menu appears behind iFrame in IE

Okay, well then I can't tell you exactly what is wrong.
I can tell you that you can't directly z-index the content of an iframe unless you call a specific stylesheet inside the head of the iframe. For security reasons, iframes cannot be manipulated with css that is called from outside the frame.

Also, in order for z-index to work, the element that you add the z-index to must also have a position defined as something other than static. You must declare "position: relative", or absolute or fixed.

If the skin is indeed using superfish, you don't just want to z-index the menu, you want to z-index the container of the menu. So if your menu is in your header, you need to do ".headerclass { position: relative; z-index: #; }" where # is higher than the z-index of the element that contains the iframe.
Hope this helps,
-Isaac

You must sign in to post in the forums. This thread is closed to new posts.