如何在将鼠标悬停在div上时显示Google广告?

时间:2011-01-21 05:04:37

标签: html adsense

我希望将我的google adsense广告悬停在div标签上,但仍然将该div标记保留在顶部...使用z-index对我来说无效。

<!--i will put these ads over the div tag using the blogger interface-->
<script type="text/javascript"><!--
google_ad_client = "ca-pub-0944910082007729";
google_ad_host = "pub-1556223355139109";
/* exp 555 */
google_ad_slot = "1393399162";
google_ad_width = 468;
google_ad_height = 15;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><style type="text/css">.link-container {border: 1px solid;width: 50%;height: 20px;}.link-container a {display: block;background: #000000;height: 100%;text-align: center;}.link-container a:hover {background: #f8f8f8;}</style><div class="link-container" style="background-color: grey; height: 20px; left: 00px; position: absolute; text-align: center; top: 95px; width: 5030px;z-index:2"><a href="http://aweeklyriddle.blogspot.com/">dddddq</a></div><b></b><b></b>

0 个答案:

没有答案