Mobile app version of vmapp.org
Login or Join
Sherry384

: Image behind adsense i want to have an image behind my google adsense just like the below image but when i tried the following css L{ background: transparent url("http://www.triphp.com/images/adback.png")

@Sherry384

Posted in: #Css #Images

i want to have an image behind my google adsense
just like the below image


but when i tried the following css

L{
background: transparent url("http://www.triphp.com/images/adback.png") repeat-x left bottom; padding-bottom:0px; padding-top:0px;
height: 352px;
padding: 50px 30px 0;
width: 350px;
}


i am getting image but as background check this image for this


how can i make it like the above one??

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sherry384

2 Comments

Sorted by latest first Latest Oldest Best

 

@Angie530

It's not an image it's a background and for this you need to add css background property to your code. You can refer to www.w3schools.com/css/css_background.asp . You should use

.element_id{background-image:url("your_image.gif");}

10% popularity Vote Up Vote Down


 

@Sent6035632

If you look it's not an image that's behind the ad it's a background colour. Controlled from your adsense setup.

if you go into your ads and edit it. You'll see options to edit "style". You can then choose the background colour you desire :)

Hope the above makes sense :)

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme