1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help. How to wrap content around adds.

Discussion in 'Placement / Reviews / Examples' started by Dukeboxx, Jun 12, 2006.

  1. #1
    Hi DP'ers

    Just a quick one to find out how to wrap content around AdSense adds.

    I would like to have a column of content with a rectangle add box in the top left corner with the text wrapping around it, much like news sites. It used to be simple with an image, as you would just do align="left" and the text would wrap automatically. I've tried using a div and an iframe but my CSS is nothing special. Any hot web designers out there that can help.

    Thank you - Its appreciated!
     
    Dukeboxx, Jun 12, 2006 IP
  2. megahertza

    megahertza Peon

    Messages:
    77
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    <div style="float:left; width:your ad width px;"> -- adsense code -- </div> -- then you content
     
    megahertza, Jun 13, 2006 IP
  3. Julie

    Julie Guest

    Messages:
    27
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #3

    yup just float the div
     
    Julie, Jun 13, 2006 IP
  4. Dukeboxx

    Dukeboxx 85 Warrior

    Messages:
    65
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Man I love DP. You guys are fantastic. Works great, must start working on floats as my next technique in CSS.

    THANKS!
     
    Dukeboxx, Jun 13, 2006 IP
  5. Hemanth

    Hemanth Active Member

    Messages:
    310
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    60
    #5
    True i was looking for such a piece of code for years :D. Just added it in my forus & blogs. Thank you.
     
    Hemanth, Jun 13, 2006 IP