Adsense Word Wrap?
-
I’m trying to get adsense to run on my blog. I’ve got it into the main post area, but I want the text to wrap around it, so the add is on the top of the posts on the left and the rest of the column on the right is filled with text.
My code looks like this:
<div class=”post”>
<h3 class=”storytitle” id=”post-<?php the_ID(); ?>”>” rel=”bookmark”><?php the_title(); ?><span class=”feedback”></span>
</h3>
<div class=”meta”>By <?php the_author() ?> at <?php the_time(‘g:i a’) ?> on <?php the_time(‘l, F j, Y’) ?> <?php edit_post_link(__(‘Edit This’)); ?></div><div class=”storycontent”>
<script type=”text/javascript”><!–
google_ad_client = “pub-1883728804492892”;
google_ad_width = 300;
google_ad_height = 250;
google_ad_format = “300x250_as”;
google_ad_type = “text”;
google_ad_channel =”9353460811″;
//–></script>
<script type=”text/javascript”
src=”https://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script>I would think that I would need to add in This:
<div style=”float:right”>
adsense code here
</div>But it does not work. What do I do?
Thanks.
- The topic ‘Adsense Word Wrap?’ is closed to new replies.