This web page will help you learn how to adjust the html codes so that your Adsense Ads are correctly aligned.
As a Google Adsense Publisher and Website Developer, I have ran into this question many times when placing Google ads on Websites.
How to right align, left align and center Google Adsense Ads on your Webpages?
Okay here is what you do, most of us are used to just copying and pasting the adsense code and that is it. Well if you don’t already know, Google Ads automatically align left when just pasting the code as is. However, it only aligns left but doesn’t float or wrap around the text with out adding additional code to the ad code.
google_ad_client = “ca-pub-XXXXXXXXXXXXXX”;
/* Help Websites */
google_ad_slot = “6927271837”;
google_ad_width = 336;
google_ad_height = 280;
Please make sure you add your own Google Adsense Code in place of the one above. If you want to float your adsense ad left, just change the word “right” to the word left in the code above. To Center Your Google Adsense Code, Just type in “center” where the word right is without the quotations.