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

02-19-2011, 07: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 type="text/javascript"

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

02-19-2011, 09: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">

02-19-2011, 09: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.