Getting text to flow round adsense block - how?

Discussion in 'Placement / Reviews / Examples' started by Woody60, May 5, 2006.

  1. #1
    Hi everyone.
    Just joined forum.
    Have a specific question I hope someone can help me with.
    I am using Front Page (2003) for designing my adsense sites.
    However I have seen sites where the article text flows round an adsense block.
    Have tried various ways to get that effcet. Just inserting the code in the Body area results in it being moved everyhwre.
    Can't get my head around how to design tables to achieve the effect.
    What should i use?

    Any help gratefully received.
     
    Woody60, May 5, 2006 IP
  2. shergill

    shergill Peon

    Messages:
    138
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    It can be easily done using CSS
     
    shergill, May 5, 2006 IP
  3. Skinny

    Skinny Peon

    Messages:
    1,864
    Likes Received:
    93
    Best Answers:
    0
    Trophy Points:
    0
    #3
    CSS

    Here's an example. Write out your article and place this code exactly where you want the ad to appear.

    TO PUT AD ON LEFT SIDE of ARTICLE
    <div style="display:block; float:left;margin: 0px 10px 0px 0px;">PUT AD CODE HERE</div> 
    HTML:
    TO PUT AD ON RIGHT SIDE OF ARTICLE
    <div style="display:block; float:right;margin: 0px 0px 0px 10px;">PUT AD CODE HERE</div>
    HTML:
    That's all there is to it. Now write above and below that code and the words will wrap around the ad.

    Skinny
     
    Skinny, May 5, 2006 IP
  4. Woody60

    Woody60 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks. I'll give it a try
     
    Woody60, May 5, 2006 IP
  5. rsankar

    rsankar Peon

    Messages:
    32
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #5
    How do you make it wrap around the adsense link ad in the adsense provided template?
    I tried the option suggested and the text appears below the ad and does not wrap around. :rolleyes:
     
    rsankar, May 5, 2006 IP
  6. JamesColin

    JamesColin Prominent Member

    Messages:
    7,874
    Likes Received:
    164
    Best Answers:
    1
    Trophy Points:
    395
    Digital Goods:
    1
    #6
    you must not put your text within the DIV tags, but outside them if you want the effect to work.
     
    JamesColin, May 5, 2006 IP
  7. Cristian Mezei

    Cristian Mezei Notable Member

    Messages:
    3,332
    Likes Received:
    355
    Best Answers:
    0
    Trophy Points:
    213
    #7
    All these advices are in vane.

    You should first stop using Frontpage, and only after that, continue to build websites.

    Frontpage is the crapiest piece of WYSIWYG software ever built.
     
    Cristian Mezei, May 5, 2006 IP