Widget:Adsense: Difference between revisions

From Elwiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<!--{if !isset($wgAdsenseMain) || $wgAdsenseMain}-->
<!--{if !isset($wgAdsenseMain) || $wgAdsenseMain}-->
    <!--{assign var="wgAdsenseMain" value=true scope="global"}-->
<!--{assign var="wgAdsenseMain" value=true scope="global"}-->
    <style>
<style>
.googleadsense.main {
.googleadsense.main {
     float: right;
     float: right;
Line 13: Line 13:
     height: 280px;
     height: 280px;
}
}
    </style>
</style>
<!--{/if}-->
<!--{/if}-->
<div class="googleadsense main">
<div class="googleadsense main">
Line 22: Line 22:
</div>
</div>
<!--{if !isset($wgAdsense) || !$wgAdsense}-->
<!--{if !isset($wgAdsense) || !$wgAdsense}-->
    <!--{assign var="wgAdsense" value=true scope="global">
<!--{assign var="wgAdsense" value=true scope="global">
    <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<!--{/if}-->
<!--{/if}-->

Revision as of 23:40, 17 May 2015

<style> .googleadsense.main {

   float: right;
   padding: 3px;
   clear: both;

}

.googleadsense.main ins {

   display: inline-block;
   width: 336px;
   height: 280px;

} </style>