Log in

View Full Version : Can someone check my code plz


Xencored
08-16-2009, 09:48 PM
Hey all what am trying to do is get a Ad to show over a image ive made for it
anyway this is the code i have but the background image jsut dont show


<center>


<div style="background-image: url(http://URL.com) height: 136px; width: 882px;">
<div style="position: relative; top: 23; left: 77">

Google AD CODE

</div></div>


<BR>
</center>


Thanks

Lynne
08-17-2009, 04:14 AM
Well, the url you have in the css isn't an image? The CSS is also not written properly (you need a semi-colon after every property declared).

pein87
08-17-2009, 05:54 AM
use <br /> the<BR> is legacy html stuff other then that yeah you need a real image path and the rest is good. Also remove center tag add text-align:center; to your divs style attribute.