Saturday, January 29, 2011

How to Center Google Adsense Gadget in Blogger

OK, a note to futre self, who won't remember this and to anyone who has ever asked the question: How do I center my Google Adsense ads in blogger when created with a gadget in a Blogger template?

1. Choose 'Design' tab.
2. Click 'Edit html'
3. Click check-box above code (expand widget templates)
4. Find the following code (ctrl-F and search for "adsense" until you find something similar):
5: Your code will look something like the above code, except for the align='center' bit, it won't be there, so add it like pictured.  This should center your adds in your template.

1 comment:

  1. Ahh, just look how nice and centered the ads are in their respective column, header and footer!

    ReplyDelete