• delta223

    (@delta223)


    Hi all,

    I would like to wrap text around my Google Ad block. I know how to do this for pictures but not javascript code. How can I do this?

    Here is my site by the way:

    http://nursing-courses.net/

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • KristinCodesWP

    (@kristincodeswp)

    Is your Google Ad block placed in the content area itself (like did you copy and paste the code into the content area) or is it in your theme files? You can try surrounding the code with a div and giving in a float:left style like:

    <div style="float:left; margin-right:10px;">
    GOOGLE AD CODE HERE
    </div>

    or better to avoid inline styling:

    <div class="google-ad">
    GOOGLE AD CODE HERE
    </div>

    Then place this:

    .google-ad {
    float:left;
    margin-right:10px;
    }

    in your theme’s stylesheet.

    The margin is just there to give the ad a little breathing room so the text doesn’t start at its edge but its optional and can be reduced/increased by making the value smaller or larger.

    Thread Starter delta223

    (@delta223)

    Thank you very much Kristin!

    to answer your question, it was placed in the content area (not the theme files)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How do a wrap my text around a javascript block?’ is closed to new replies.