Does an alternative exist to the z-index bug in In

2019-09-19 05:26发布

It doesn't matter how high I set the z-index, or if I set position:relative; to the parent div, or if I set a higher z-index to parent div or any tweak I found in Google.

My tooltip will not be visible in Internet Explorer 7,

Is there any other property I could use to simulate z-index positioning?

2条回答
看我几分像从前
2楼-- · 2019-09-19 05:37

One alternative I tend to use is adding the dropdown menu right after <body id="homeIsoraGold" class="idioma_es">.

And then positioning it with JavaScript to be placed where you want it.

Because it is placed right after the body it will already be high in the DOM (tree) so you will have the best chance of it being on top.

查看更多
聊天终结者
3楼-- · 2019-09-19 05:54

How is the tooltip being positioned? Try adding position:absolute; z-index:999 to your tooltip div and position:relative to the parent to see how it reacts.

It would be really helpful if you can post your page or some code.

查看更多
登录 后发表回答