Google Adsense透明背景 [英] Google Adsense transparent background

查看:91
本文介绍了Google Adsense透明背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使Google Adsense块透明?

How to make the Google Adsense block transparent?

它使用iframe,并且位于其他域上,因此jQuery无法执行任何操作。我试图用CSS定位它,但这也是不可能的。有任何想法吗?

It uses iframe, and resides on other domain, so jQuery can't do anything. I tried to target it with css, but that's also impossible. Any ideas?

我不是在尝试使用adsense系统,只是我有一张背景图片,而且填充实心的广告看起来令人作呕。

I'm not trying to game adsense system, simply I've a background image, and with solid fill the ad looks disgusting.

推荐答案

我认为其他一些人已经正确回答了您不能真正做到这一点。但是,真正的根本问题是什么?您正在尝试避免广告在背景图片上看起来很糟糕。

I think some other people have answered correctly that you can't really do this. But what really is the root problem here? You are trying to avoid the ad looking bad on a background image.


我只有一张背景图片,而且填充实心广告看起来令人作呕!

simply I've a background image, and with solid fill ad looks disgusting!

好吧,为什么不添加某种效果,这些效果严格在您的页面上却可以使广告看起来更好。我认为最简单的方法是使用框阴影: http: //css-tricks.com/snippets/css/css-box-shadow/

Well, why not add some sort of effect that is strictly on your page but makes the ad simply look better. I'm thinking the easiest way to do this is with a box shadow: http://css-tricks.com/snippets/css/css-box-shadow/

以下是这种效果的一些示例:

Here are some examples of what such an effect might look like:

http://jsfiddle.net/7wPrS/3 /

http:// jsfiddle。 net / 7wPrS / 4 /

这篇关于Google Adsense透明背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆