Cufon text z-index (IE6 and IE7 stylish select box bug)

▼魔方 西西 提交于 2019-12-12 09:38:45

问题


I'm replacing some text with cufon on my page and I'm using jquery stylish select box plugin (http://www.scottdarby.com/plugins/stylish-select/0.4/) to style select boxes.

The problem is that, in IE6 and IE7, select box goes under the cufonized text. (the select box is actually an <ul>).

Anyone had this issue before?


回答1:


i encountered the same problem with a drop down menu, through which the Cufon h1 stays visible in IE 6 & 7. Giving the element in which the ul is placed a z-index solves the problem! Cheers




回答2:


I had same problem, but becouse cufon was relative posioned. Z-index + positon relative for menu item solved my problem. :)




回答3:


The problem lies in the fact that cufon uses absolute positioning on elements which overlaps your select list, AJs answer should work but if you like more background on it ask your searchengine



来源:https://stackoverflow.com/questions/2191624/cufon-text-z-index-ie6-and-ie7-stylish-select-box-bug

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!