How to get writing wrapped around Google Adsense

by 6 replies
7
I know how to get the writing in HTML to wrap around a photo with text align="top" but how can I get the writing to wrap around a google ad? Do I have to put the ad in a table or something? :confused:
#programming #adsense #google #wrapped #writing
  • Still waiting to know....thanks
  • Hey Jeniffer

    It's really easy to do with a <div> tag. It's same deal as you want to wrap a text for images:

    <div style=”display:block;float:right;margin: 5px 5px 5px 5px;”>
    GOOGLE ADSENSE CODE GOES HERE
    </div>
  • Okay where does the text go? Sorry for the dumb question.
  • It will be wrapped around your ads! Just click anywhere where you want to add ads, and add that code to your website code (use the notepad, dreamweaver, wp editor, or anything you like)
    • [ 1 ] Thanks
  • Hmm okay I'll screw around with it. Thank you!!
  • I get the feeling you haven't been exposed to much css... place the code Emma gave you at the beginning of whatever containing element you are putting your text into (<body><td> etc...) and then put the rest of your text. When you do this, the adwords will be at the top right of the containing element and your text will wrap around the bottom of the ads.

    Do some googling on the css box model.
  • [DELETED]

Next Topics on Trending Feed