1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How can I set up two Square banner ads side by side?

Discussion in 'WordPress' started by im_savage_rawr, Dec 16, 2009.

  1. #1
    I would like to know how to set up two LARGE square banner ads side by side in my wordpress blog, what is the code for making tables like that or just putting them side by side.

    When ever i paste the code, they just go under neath the above square ad.
     
    im_savage_rawr, Dec 16, 2009 IP
  2. Wp-Mod.Com

    Wp-Mod.Com Peon

    Messages:
    381
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    dont use tables, they are old , use css and use this property

    if you are familiar with css

    or

    http://wordpress.org/extend/plugins/wp125/
    Code (markup):
     
    Last edited: Dec 16, 2009
    Wp-Mod.Com, Dec 16, 2009 IP
  3. im_savage_rawr

    im_savage_rawr Peon

    Messages:
    529
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I like the css idea, how would that work.. could you elaborate on that more?
     
    im_savage_rawr, Dec 16, 2009 IP
  4. im_savage_rawr

    im_savage_rawr Peon

    Messages:
    529
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I still want a solution to this, I know you can post the add code in your post.php or any other theme file but how can I make the code so the banners are side by side?
     
    im_savage_rawr, Dec 30, 2009 IP
  5. SonnyCooL

    SonnyCooL Peon

    Messages:
    1,170
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #5
    this is how my table look :
     
    SonnyCooL, Dec 30, 2009 IP
  6. dess71

    dess71 Well-Known Member

    Messages:
    960
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    143
    #6
    I was searching for this code myself and have found the code. Below:
    <center>
    <table cellspacing=5 cellpadding=0 border=0>
    <tr>
    <td> First banner code here </td>
    <td> Second banner code here </td>
    </tr>
    </table>
    </center>

    number 5 is the spacing b/n the banners. Make suitable number.

    I also wanted to make 4 banners (two side by side and the pother two side by side just below the first two). I experimented and it worked. Just add this very code you see above next to the 1st code. In other words add two of this code in the code area in your site or wp teplate. Though it is an old thread I think it can be of benefit to somebody.
     
    dess71, May 18, 2011 IP
  7. imh_bradm

    imh_bradm Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Even though this page is about WordPress, I actually found it when Googling "joomla banners side by side".

    I was hoping to chime in and help any other Joomla user finding this post too. The initial response on this question was right on point, using CSS to adjust the div's that ads are contained in, so they display inline rather than as blocks.

    In Joomla 3.0, you can use the following CSS code in your template:

    .banneritem,
    .banneritem .clr{
       display: inline;
    }
    Code (markup):
    While that should be enough to resolve your issue, you can find the full tutorial here - http://www.inmotionhosting.com/support/edu/joomla-3/banners/side-by-side
     
    imh_bradm, Nov 6, 2012 IP