MyBB Community Forums

Full Version: How to get my ads laid out correct have tried <p> &nbsp; </p> but it's not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
I have tried to place the ads next to each other so they are in a square, however they are just on top of each other and it's annoying me like hell. I have tried different codes such as <p> &nbsp; </p> but still no joy.

I am going to use the other section to give away free ebooks and stuff, is there anyway I am able to sort the images out.

Link: http://www.internet-marketing-forum.net/

Screen shot:
[Image: captureklb.png]


Cheers

-Lee
I think it's just that the sidebox isn't big enough for them to sit side by side.
(2011-11-04, 05:35 PM)AJS Wrote: [ -> ]I think it's just that the sidebox isn't big enough for them to sit side by side.

Thank you AJS, that is in fact part of the theme, perhaps I could edit it or something. If not I guess there is a plugin kicking about to use.

-Lee
You should be able to change the width in the index template.
(2011-11-04, 05:37 PM)AJS Wrote: [ -> ]You should be able to change the width in the index template.

I am guessing that would be something to do with this:
Quote:<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

Any ideas on which part to implement changes too buddy Smile

-Lee
<div class="sidebar" style="float: right; width: 20%;">

<table border="0" cellspacing="1" cellpadding="4" class="tborder">

<tr>

   <td class="thead">

      <strong>Tools Of The Trade</strong>

   </td>

</tr>



Change that width.
And change it from percent to px
Or use this:
<table>
<tr>
<td>
code one
</td>
<td>
code two
</td>
</tr>
</table>
Hi guys I am still a bit confused and do not want to muck up the code, which one do I use and how to implement it into the template, am I too just paste the whole code you have shown on here.

This is the code exactly as it is in the template I have removed the Affiliate links:
Quote:<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

<tr>
<td class="thead">
<strong>Tools Of The Trade</strong>
</td>
</tr>

<tr>
<td class="trow1">
<a href="I HAVE REMOVED MY AFFILIATE LINK"><img
src="http://woothemes.com/ads/125x125b.jpg" /></a>

<a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/market-samurai.png" alt="Market Samurai " title="Try Market Samurai For Free" width="125" height="125" class="alignnone size-full wp-image-282" />


<a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/125x125-a.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>

<a href="HAVE REMOVED MY AFFILIATE LINK "><img src="http://i.imgur.com/VulX0.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>
</td>
</tr>
</table>
<br />

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

If you could just explain that would be great, thank you for helping me out. I just don't want to risk mucking up the template code that's all.

Cheers

-Lee
Replace this:
<a href="I HAVE REMOVED MY AFFILIATE LINK"><img 
 src="http://woothemes.com/ads/125x125b.jpg" /></a>

 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/market-samurai.png" alt="Market Samurai " title="Try Market Samurai For Free" width="125" height="125" class="alignnone size-full wp-image-282" />


 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/125x125-a.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>

 <a href="HAVE REMOVED MY AFFILIATE LINK "><img src="http://i.imgur.com/VulX0.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>

With this:
<table>
 <tr>
 <td>
<a href="I HAVE REMOVED MY AFFILIATE LINK"><img 
 src="http://woothemes.com/ads/125x125b.jpg" /></a>

 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/market-samurai.png" alt="Market Samurai " title="Try Market Samurai For Free" width="125" height="125" class="alignnone size-full wp-image-282" />
 </td>
 <td>
 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/125x125-a.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>

 <a href="HAVE REMOVED MY AFFILIATE LINK "><img src="http://i.imgur.com/VulX0.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>
 </td>
 </tr>
 </table>
(2011-11-04, 08:11 PM)Sama34 Wrote: [ -> ]Replace this:
<a href="I HAVE REMOVED MY AFFILIATE LINK"><img 
 src="http://woothemes.com/ads/125x125b.jpg" /></a>

 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/market-samurai.png" alt="Market Samurai " title="Try Market Samurai For Free" width="125" height="125" class="alignnone size-full wp-image-282" />


 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/125x125-a.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>

 <a href="HAVE REMOVED MY AFFILIATE LINK "><img src="http://i.imgur.com/VulX0.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>

With this:
<table>
 <tr>
 <td>
<a href="I HAVE REMOVED MY AFFILIATE LINK"><img 
 src="http://woothemes.com/ads/125x125b.jpg" /></a>

 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/market-samurai.png" alt="Market Samurai " title="Try Market Samurai For Free" width="125" height="125" class="alignnone size-full wp-image-282" />
 </td>
 <td>
 <a href="I HAVE REMOVED MY AFFILIATE LINK"><img src="http://www.learn-search-engine-optimization.com/wp-content/uploads/2011/10/125x125-a.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>

 <a href="HAVE REMOVED MY AFFILIATE LINK "><img src="http://i.imgur.com/VulX0.gif" alt="Dream Host Sign Up " title="Internet Marketing Forum" width="125" height="125" class="alignnone size-full wp-image-280" /></a>
 </td>
 </tr>
 </table>


Awesome thank you so much everyone for your kind help, I wont mark anyone as best answer, that would be unfair as everyone helped.

Cheers

-Lee
Pages: 1 2