text-align: center not working. Please Help!
-
So guys, after pretty much going through all useful forum posts I came to the conclusion that the best way to center a banner is with a class.And here is how my adsense code looks like:
<div class=”adsenseAd”>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<!– beebaner –>
<ins class=”adsbygoogle”
style=”display:inline-block;width:728px;height:90px”
data-ad-client=”ca-pub-6341692627121803″
data-ad-slot=”6005798378″></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script>
</div>And this is at the bottom of my Stylesheets:
.adsenseAd { text-align: center;
}And the result is: http://ebookbees.com/dracula-free-ebook/
I don’t really understand why it isn’t properly displaying the class. Please give me an idea, what I should try, since I feel like I have 0 control over the banners. Thank you all!
- The topic ‘text-align: center not working. Please Help!’ is closed to new replies.