WordPress.org

Forums

[Plugin: Ad Injection} Side by side adsense 300x250 (6 posts)

  1. markus4500
    Member
    Posted 3 years ago #

    I have been using ad injection for a while. Great plugin. I was wondering if there is a way to ads two side by side 300x250 ads next to each other at the top of the page/post.

  2. reviewmylife
    Member
    Posted 3 years ago #

    Hi markus4500, Just put the two ads in a table or use CSS to put them next to each other.

    You can put whatever content you like (including layout HTML/CSS) into the ad boxes.

  3. markus4500
    Member
    Posted 3 years ago #

    Hi Reviewmylife

    I am still in the learning phase of learning html/css. Could you by any chance show me an example of how I can put the two ads in a table that I can ad into the ad box

  4. reviewmylife
    Member
    Posted 3 years ago #

    Here is very simple two column table. You would probably want to add to it to remove the table border.

    <table><tr><td>
    ad1
    </td><td>
    ad2
    </td><tr><table>
  5. Snake fan Solid
    Member
    Posted 3 years ago #

    I was trying to implement this on my site, but the result was weird.
    Then I noticed that you forgot the closing tag for tr and table.

    So, the correct code will be this:

    <table><tr><td>
    ad1
    </td><td>
    ad2
    </td></tr></table>

    By the way ad-injection is an excellent plugin.

  6. reviewmylife
    Member
    Posted 3 years ago #

    Hi Snake fan Solid, thanks for spotting that - that was a silly mistake of mine! Cheers!

Topic Closed

This topic has been closed to new replies.

About this Topic