...

View Full Version : Right side border on Adsense ad not showing



EnnisP
02-19-2011, 06:43 PM
For some reason the right side border of an adsense ad is not showing. All other sides show the border.

The code is:


<div style="width: 250px; float:left; margin: -5px 0px 0px 0px; padding-right: 15px;"><script type="text/javascript"><!--
google_ad_client = "ca-pub-7215989865207229";
/* Mid Page 250 Sq Border */
google_ad_slot = "6726913708";
google_ad_width = 250;
google_ad_height = 250;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></div>

The URL is here (http://nowthinkaboutit.com/2011/02/divorce-is-it-really-a-sin/).

Excavator
02-19-2011, 08:01 PM
Hello EnnisP,
The border shows fine when I look in FF4 and IE9.

Instead of padding that right side though, wouldn't margin make more sense? Like this - <div style="width: 250px; float:left; margin: -5px 15px 0 0;"><script type="text/javascript">

EnnisP
02-19-2011, 08:10 PM
I tried that and it worked fine. I also figured out what my original problem was. I enlarged the text and the border showed.

Thanks for the tip.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum