I am using Finder module for auto suggestions. But autocomplete results are shown under the adsense ads in IE7 and IE6. I have use some z-index options but it does not works. You can see the test site http://blendofmind.com/deneme/

I have used this css:
#block-adsense_managed-2,
#block-adsense_managed-2 div.content,
#block-adsense_managed-2 div.inner,
#block-adsense_managed-2 div.adsense {position:absolute;background: #000;z-index:-9998; }

I just want to adjust autocomplete results over every other elements on the page. It will be always on the top.

How can I do this?

Comments

danielb’s picture

Status: Active » Fixed

z-index doesn't work as you think it does in IE7. It creates a new 'stacking context' everytime you create a div with 'position:relative' set, that has no relation to other stacks, and therefore you can't set their z-index in relation to each other.
I was never very good at sorting this out, and I don't even have IE7 to try it out. Your best bet is to do some research on how older versions of Internet Explorer work.
Here are some random links I googled up - but you will have to do your own research.
http://brenelz.com/blog/squish-the-internet-explorer-z-index-bug/
http://thedesignspace.net/MT2archives/000763.html
http://css-discuss.incutio.com/wiki/Overlapping_And_ZIndex
http://www.mathesonbayley.com/article_holy_grail.php
http://www.webmasterworld.com/google_adsense/3874567.htm

Interestingly the last link mentions that it is against Google's terms of service to allow something to drop over the advertisement, such as a menu. So you might want to redesign your whole site!

I can't help much more about this, as this issue is not specific to Finder. You are likely to find more knowledgeable people on this in the Drupal theming community.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.