2 Large Rectangles - issue with placement

Discussion in 'AdSense' started by jhsutton, Feb 16, 2009.

  1. #1
    Hi,

    On a forum of mine, I like to have two Large Rectangle ads next to each other. This has been doing ok, but now, on the forum, one ad appears on top of the other - instead of side by side! Does anyone know what I can do to correct this?

    thanks
     
    jhsutton, Feb 16, 2009 IP
  2. Timehacker

    Timehacker Peon

    Messages:
    121
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You may try to place them into a (invisible) table with 2 columns.
     
    Timehacker, Feb 16, 2009 IP
  3. spyka

    spyka Greenhorn

    Messages:
    90
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #3
    Either use a table as Timehacker suggests or wrap the ads in two divs and float them together, something like:

    
    <div>
       <div style="float:left;">
           put the ad code here
       </div>
       <div style="float:left;">
           put the ad code here
       </div>
       <div style="clear:both"></div>
    </div>
    Code (markup):
     
    spyka, Feb 16, 2009 IP
  4. mdamin76

    mdamin76 Well-Known Member

    Messages:
    1,752
    Likes Received:
    146
    Best Answers:
    0
    Trophy Points:
    153
    #4
    Use table like this :
     
    mdamin76, Feb 16, 2009 IP
  5. jhsutton

    jhsutton Peon

    Messages:
    374
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #5
    that has done the trick, thank you muchly :)
     
    jhsutton, Feb 17, 2009 IP