I want position a DIV with the content of an addsense script on top of a img that I use as a banner.
I have the img tag inside a div. then I put the google script inside
You want to position the second div with absolute:
absolute
http://jsfiddle.net/sbNZu/
Relevant code:
img { border: 2px solid black; } #container { position: relative; } #example { position: absolute; top: 10px; left: 10px; padding: 5px; background-color: white; border: 2px solid red; }
This is my div