简体   繁体   English

是否可以在adsense后面使用背景图片

[英]Is it allowed to use background-image behind adsense

Is it allowed to use "background-image" behind advertising for display a message for visitors who use adblock: 是否允许在广告后面使用“背景图片”为使用adblock的访问者显示一条消息:

div.adsense{
height: 90px;
width 720px;
background: url(../promo.png) no-repeat;
}

<div class="adsense">
<script> ads </script>
</div>

Thanks. 谢谢。

Use In Css 在CSS中使用

background-image: url("Here Your Img Url");

For Example 例如

div.adsense{
height: 90px;
width 720px;
background-image: url("https://static.pexels.com/photos/36487/above-adventure-aerial-air.jpg");
color:#FFF;
}

Demo in Jsfiddle 演示在Jsfiddle

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM