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

2019-04-28 23:22发布

问题:

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