• petraw

    (@petraw)


    Hi all,
    I have just added a Google AdSense block to my posts, and I was just wondering how I can make it so the writing wraps around the AdSense block. At the moment the block comes first, and underneath comes my blog post. (See on my blog Internet Marketing Advice)This has to be quite easy, right?

Viewing 1 replies (of 1 total)
  • stvwlf

    (@stvwlf)

    Hi – I don’t know what your code looks like behind the scenes, but what needs to happen is the iframe in which the Google ads are displayed needs to have a float:left or float:right applied. That will cause the blog post’s text to wrap around it – float:left will display ads to the left and post text on the right.

    The ad box is 250 pixels – you will find that doesn’t leave a lot of width for the text to flow. You will probably want to make further CSS adjustments.

    If you use Firefox, you might install the Firebug addon. It shows you exactly what is going on with your CSS and also let you experiment by making CSS changes to what is displayed in your browser, before you change your actual stylesheet. Saves a lot of time.

Viewing 1 replies (of 1 total)
  • The topic ‘Wrapping post text around Adsense ad block’ is closed to new replies.