Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

Possible Duplicate:
image behind adsense

i have a google ad, where i want to place an image, i tired the css, but the image is not coming properly, my google ad size is height=280, width=336 the image url is http://www.clker.com/cliparts/e/p/V/F/o/0/notepad-hi.png

i want this image behind my ad, i tried this following code:-

{
    background:url("http://www.clker.com/cliparts/e/p/V/F/o/0/notepad-hi.png")transparent;
    height: 300px;
    padding: 50px 30px 0;
    width: 350px;    
}
share|improve this question

marked as duplicate by John Conde Dec 20 '10 at 12:47

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

    
You already asked this question and got answers for it (one of which you selected as correct). Don't post duplicate questions. –  Lèse majesté Dec 20 '10 at 7:50
    
but i am not clear with that, and question is related not same, in this i am asking for code help, there i asked how can i put background image to adsense, here i am asking the code of putting background image to adsense –  ntechi Dec 20 '10 at 7:59
    
It's the same exact question. If you didn't get the information you needed, then you should have kept it open and expanded on the question. –  Lèse majesté Dec 20 '10 at 9:00
1  
Not only is this a duplicate question, it is off topic as design questions belong on Doctype. If you have more then 3,000 points you should vote to close the question if you believe it violates is a duplicate question. Remember, this is a community moderated website. –  John Conde Dec 20 '10 at 12:48

1 Answer 1

  1. Create a <div>
  2. Apply your style to the div
  3. insert your add into the div

But, the AdSense ads are not transparent, and :

AdSense Terms and Conditions

Implementation and Operation of Ads, Search Results, and Referrals [...] including without limitation by not modifying the JavaScript or other programming provided to You by Google in any way, unless expressly authorized in writing by Google [...]

So, I don't know if a "T.O.S. compliant" technique exist for this...

share|improve this answer
    
that i did, i have a div tage, inside which my ad is placed, but what i want is a background image, my ads background is white, and i have an image whoes background is also white, i just want it to be placed in background just like this image i.imgur.com/Lr8oX.jpg i dont the right css for this, how can o do this?? –  ntechi Dec 20 '10 at 6:22

Not the answer you're looking for? Browse other questions tagged or ask your own question.