Advertisement Management

Help separating ads in a row - Advertisement Management

Help separating ads in a row

by Ragun Gardener » Mon Feb 10, 2020 5:53 pm

I'm new to PHP and code but learning a little as I go. Thanks in advance for any help.

I'm using the Ext and it works for what I need now but I'm having a problem writing the code to space ads apart. I have 4 ads side by side but they look like a single banner, other than adding a boarder what code can I add?

I'm using this to align them
<a href="https://www.seedsnow.com/pages/shop-all-seeds"><img src="https://www.tomatojunction.com/images/p ... 7066c7.jpg" />

<a href="https://www.seedsnow.com/pages/shop-all-seeds"><img src="https://www.tomatojunction.com/images/p ... 7066c7.jpg" />

<a href="https://www.seedsnow.com/pages/shop-all-seeds"><img src="https://www.tomatojunction.com/images/p ... 7066c7.jpg" />

<a href="https://www.seedsnow.com/pages/shop-all-seeds"><img src="https://www.tomatojunction.com/images/p ... 7066c7.jpg" />

Here's what it looks like.
adstogether.JPG
Ragun Gardener
Registered User
Posts: 11
Joined: Mon Feb 10, 2020 5:06 pm
Contact:

Re: Help separating ads in a row

by djdaveathome » Fri Feb 14, 2020 8:53 pm

Use CSS inline styling or css style sheet.

eg: <a href="https://www.seedsnow.com/pages/shop-all-seeds" style="margin-right:5px;"><img src="your-image-url" /></> <a href="https://www.seedsnow.com/pages/shop-all-seeds" style="margin-right:5px;"> <a href="https://www.seedsnow.com/pages/shop-all-seeds" style="margin-right:5px;"> <a href="https://www.seedsnow.com/pages/shop-all-seeds" >


This gives 5px between each image if you put this in each link.
djdaveathome
Registered User
Posts: 6
Joined: Fri Feb 14, 2020 8:43 pm
Contact:

Re: Help separating ads in a row

by Ragun Gardener » Tue Feb 18, 2020 10:46 pm

Thanks for that, I really appreciate it!!
Ragun Gardener
Registered User
Posts: 11
Joined: Mon Feb 10, 2020 5:06 pm
Contact: