Anyone know how to do this correctly? I want to make it look like johnchow.com does with his ads. For example my blog is rapunity.com and i want to use the 250 by 250 size ads but they dont align correctly if you just put the code in by itself. Any thoughts?
Enclose your adsense code on a <div> like so <div class="adsense"> ----Your adsense code goes here ----- </div> Code (markup): on your style sheet put an entry for the adsense div to float right: .adsense{ float:right; } Code (markup): that should do the trick....
I would almost guarantee you he's using adsense deluxe (WP plugin). you can copy/paste the code into a post and insert it at will. Using the div will make it justify how you want, but if you want to break up your post, adsense deluxe is a very easy way to place it initially, then use div. That's what I do. I always have the first adsense block in the post, but if it's a super long post I'll also include it in the middle as well. I placed the first one in the template and the middle get's placed when I feel like it in the post.