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
<center><b:if cond='data:blog.pageType == "item"'>
<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">
Go to Design > Template Designer > Advanced > Add CSS and add
Write this code :
.AdSense{text-align: center;}
Other method:
Look for
<data:adCode/>Put <center> ADDCODE HERE </center>
<center><b:if cond='data:blog.pageType == "item"'>
<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
</div>
No comments
Post a Comment