Text flow around adsense

Discussion in 'WordPress' started by tyrithe, May 12, 2006.

  1. #1
    Hi all,

    I'm creating a WordPress blog on container gardening, and was looking to put adsense blocks on the post pages. The problem I'm running into is that I haven't been able to get the article text to fill in the area to the right of the ad block. Is there something in a .css file I need to add/edit? :confused:

    Thanks,
    tyrithe
     
    tyrithe, May 12, 2006 IP
  2. spondishy

    spondishy Peon

    Messages:
    735
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You can wrap <div style="float: left;"></div> around your adsense block. I like to put a little padding around it just so the text doesn't butt right up to it.

    If you use adsense deluxe you can also add this to the adsense code.
     
    spondishy, May 12, 2006 IP
  3. tyrithe

    tyrithe Member

    Messages:
    97
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    43
    #3
    Thanks. For the added border, would you put "margin: 1em;" or something similar in the style attribute?

    tyrithe
     
    tyrithe, May 12, 2006 IP
  4. MrSupplier

    MrSupplier Peon

    Messages:
    141
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Check my better solutions blog code -- I'm using same wp theme, customized. You can blend your ads the same way in sidebar.

    As for ads in text, I suggest horizontal banner like 468*60 between logical parts of the article
     
    MrSupplier, May 12, 2006 IP