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.

Float issue with adsense

Discussion in 'CSS' started by Coldfaun, Nov 3, 2010.

  1. #1
    I have a blog and wanted to insert an add from adsense like this:

    <div style="float:right">
    adsense code
    </div>

    The problem are the images who will ignore the ads and the result is that the ads will be displayed over an image for example, and that is not good with the google adsense TOS.

    The only solution I've found was to give the div, align:right, but the text won't go beyond the add, that is a decrease on the number of clicks.

    I tried to play with css giving the images, css properties, like put them all to float but didn't worked.

    Any solution?
    In the 2 images, how the ads is being displayed, and how the image is behind the ad.
    digi1.jpg
    digi2.jpg
     
    Coldfaun, Nov 3, 2010 IP
  2. inkanet

    inkanet Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    What type of blog do you have? If it is a CMS one, maybe better idea would be to use AdSense plugins rather than manualy inserting CSS code.
     
    inkanet, Nov 4, 2010 IP
  3. Layoutzzz

    Layoutzzz Greenhorn

    Messages:
    78
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    18
    #3
    Hi Coldfaun,
    Could you please let us know site url where we can see issue.
     
    Layoutzzz, Nov 4, 2010 IP