Im trying to create a simple text with an adsense ad on the top right corner of the text. The text would be beside the ad and continue under it full lenght. I have succeed in doing so with an image instead of the adsense code, but can not do it with the adsense code. See the attached image to get what I want.
For your adsense code did you try putting 'align=right' on the table or image? If everything works out as it should, the text that's not part of the adsense ad will wrap around it.
<div style="float: right; margin: 0px; margin-top: 20px; padding-right: 5px" class="noprint"> <script type="text/javascript"><!-- google_ad_client = "pub-XXXXXXXXXXXXX"; /* artcomp, created 2/29/08 */ google_ad_slot = "1366346968"; google_ad_width = 200; google_ad_height = 200; //--> </script> </div> text text text Code (markup):
This as done the job beautifully, but something is screwing the rest of my page, when I insert that code. Error page: http://usagolfvacations.net/Articles/Discount_Golf_Clubs Right page: http://usagolfvacations.net/Articles/Plan_a_discount_Golf_Vacation
I don't see any difference with either link. For you Adsense, did you place it inside a div and perhaps give the div a "float:right" and then use margins to position it?