How do I adjust code to put space between ads?

netsavy006

Seasoned Veteran
Joined
Apr 18, 2007
Messages
2,705
Reaction score
7
FP$
579
I have the code which I will post below:

Code:
<div id="pcents_ad_container_3041">
<script type="text/javascript">
// Optional - Change these colors to match your website
ad_space_border = "DDDDDD";
ad_space_background = "DDDDDD";
ad_space_link = "44689D";
ad_space_text = "000000";
ad_space_title = "000000";
</script>
<a href="http://pocketcents.com/">Local Online Advertising</a><br />
<a href="https://pocketcents.com/services/online_advertising/coupon_advertising/">Local Coupon Advertising</a>
</div>
<script src="http://pocketcents.com/ad1/?id=9922f5774d88b203c4ec0fdd26616899">
// Optional - Place this script at the bottom of page to decrease load time
</script>

I notice that there is no space between each of the ads that show up. What I'd like to know is there a way I can edit the code so that I can put some space between the ads themselves.

(to see the working code, visit: http://agchat9.comlu.com/index.php)

Thanks in advance,
Andy
 
Your website isn't currently up and running right now. Fix the link.
 
If you want horizontal space, try &nbsp;

If you want vertical space, try <br />
 
You can do it the way Kavin said or you can do it in CSS. The code for CSS is

Code:
padding-right:10px

Change the 10 to whatever you want.

If you need help with the CSS, send me a PM.
 
Back
Top Bottom