Support » Fixing WordPress » How do a wrap my text around a javascript block?

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    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.