PDA

View Full Version : Basic Code Help Needed For Bleow Navbar Advertising


qldafwebmaster
03-19-2014, 01:18 AM
hello Everyone

Im looking for some basic help with putting in the correct code for a advertisement.

what i have now is 6 images (sponsors) with links to their websites.

the problem i have is i would like to increase that to 12 images (2 rows of 6 images)

I would like it so that no matter what size screen users are on it shrinks the images so they always are on 2 rows "lines" with 6 images per line

Any help appreciated

here is what i have now (note this is for 6 images but it does not stay on 1 line)

my forum is www.qldaf.com

<p style="text-align: center;">
<a href="http://www.qldaf.com/forums/sponsor-sanctum-26/%5Bappreciation%5D-redlands-pet-centre-highly-recommended-13052/"><img src="http://www.qldaf.com/sponsors/redlands top.png" alt="RedLands Pet Centre" /></a>
<a href="http://www.aquariumproducts.com.au/"><img src="http://www.qldaf.com/images/AOA top.png" alt="" /></a>
<a href="http://www.nielsensmarinemates.com.au/"><img src="http://www.qldaf.com/sponsors/Nielsens Marine Mates.png" alt="" /></a>
<a href="http://aquaholicsonline.com.au/"><img src="http://www.qldaf.com/sponsors/Aquaholics Top.png" alt="" /></a>
<a href="http://www.petcity.com.au/"><img src="http://www.qldaf.com/sponsors/Petcity Top.png" alt="" /></a>
<a href="http://www.thetechden.com.au/"><img src="http://www.qldaf.com/sponsors/Tech Top.png" alt="" /></a></DIV></p>

Seven Skins
03-19-2014, 07:34 PM
May be like this:

<style type="text/css">
.sponsor_div img {width: 16%; border: none;}
</style>
<div class="sponsor_div">
<a href="http://www.qldaf.com/forums/sponsor-sanctum-26/%5Bappreciation%5D-redlands-pet-centre-highly-recommended-13052/"><img src="http://www.qldaf.com/sponsors/redlands top.png" alt="RedLands Pet Centre" /></a>
<a href="http://www.aquariumproducts.com.au/"><img src="http://www.qldaf.com/images/AOA top.png" alt="" /></a>
<a href="http://www.nielsensmarinemates.com.au/"><img src="http://www.qldaf.com/sponsors/Nielsens Marine Mates.png" alt="" /></a>
<a href="http://aquaholicsonline.com.au/"><img src="http://www.qldaf.com/sponsors/Aquaholics Top.png" alt="" /></a>
<a href="http://www.petcity.com.au/"><img src="http://www.qldaf.com/sponsors/Petcity Top.png" alt="" /></a>
<a href="http://www.thetechden.com.au/"><img src="http://www.qldaf.com/sponsors/Tech Top.png" alt="" /></a>
</div>
<div class="sponsor_div">
<a href="http://www.qldaf.com/forums/sponsor-sanctum-26/%5Bappreciation%5D-redlands-pet-centre-highly-recommended-13052/"><img src="http://www.qldaf.com/sponsors/redlands top.png" alt="RedLands Pet Centre" /></a>
<a href="http://www.aquariumproducts.com.au/"><img src="http://www.qldaf.com/images/AOA top.png" alt="" /></a>
<a href="http://www.nielsensmarinemates.com.au/"><img src="http://www.qldaf.com/sponsors/Nielsens Marine Mates.png" alt="" /></a>
<a href="http://aquaholicsonline.com.au/"><img src="http://www.qldaf.com/sponsors/Aquaholics Top.png" alt="" /></a>
<a href="http://www.petcity.com.au/"><img src="http://www.qldaf.com/sponsors/Petcity Top.png" alt="" /></a>
<a href="http://www.thetechden.com.au/"><img src="http://www.qldaf.com/sponsors/Tech Top.png" alt="" /></a>
</div>

qldafwebmaster
03-19-2014, 11:00 PM
Perfect Tankyou