Header Ads

How to make ads center

If you've decided to try and make some money with your blog, chances are pretty good that you're using Adsense. Sometimes, especially under your header, Adsense ads are off to the left and just don't look good. If you'd like to center your AdSense ads within you blog here is a very simple way to do it and you don't even have to edit your HTML.

Go to Design > Template Designer > Advanced > Add CSS and add

Write this code :

.AdSense{text-align: center;}

 Other method:

Look for
 Put <center> ADDCODE HERE </center>

<center><b:if cond='data:blog.pageType == &quot;item&quot;'>
<b:if cond='data:post.includeAd'> <data:adEnd/> <data:adCode/> <data:adStart/> </b:if> </b:if> </center>

This may apply to any HTML code like LINK

Or used this code :

<div align="center">

<div align="center">
Google Adsense Code

No comments

blogmytuts. Powered by Blogger.