How to put a Rectangle Ad inside an article body?

Discussion in 'Placement / Reviews / Examples' started by rahman15, Feb 20, 2006.

  1. #1
    Please bear with my ignorance...:(
    How do I put Large Rectangle Ad (336 x 280) google add inside of an article body.

    See the example from google:
    https://www.google.com/adsense/large-rectangle

    I want to use “Ad embedded within content” and “Ad that blends in” option.
    I article body is coming from a mySQL database field and I am using php. Any help with example script will be highly appreciated.

    Thanks
     
    rahman15, Feb 20, 2006 IP
  2. bargainr

    bargainr Peon

    Messages:
    223
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #2
    you can just do a:
    
    <div style="float:right;"> google adsense code </div>
    
    Code (markup):
    Change float:right to float:left, and put it wherever you want.
     
    bargainr, Feb 20, 2006 IP
    just-4-teens likes this.
  3. rahman15

    rahman15 Well-Known Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    138
    #3
    Cool..it was easy...is it not going to hide the article content?
     
    rahman15, Feb 20, 2006 IP
  4. bargainr

    bargainr Peon

    Messages:
    223
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #4
    no, it should just push the text to the side, did you try it?
     
    bargainr, Feb 20, 2006 IP
  5. rahman15

    rahman15 Well-Known Member

    Messages:
    424
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    138
    #5
    Yep…..it worked like magic...
    Thanks man…
     
    rahman15, Feb 20, 2006 IP
  6. PinoyIto

    PinoyIto Notable Member

    Messages:
    5,863
    Likes Received:
    170
    Best Answers:
    0
    Trophy Points:
    260
    #6
    Nice Post bargainr... I guess this is one of the best way to do that....
     
    PinoyIto, Feb 20, 2006 IP
  7. bargainr

    bargainr Peon

    Messages:
    223
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It's the sleekist anyway... thanks pinoyito
     
    bargainr, Feb 20, 2006 IP