Question

I have this google adsense code I want next to logo but how do I make it so it goes to the right more?

<div class="pad group">     
                <?php echo wpb_site_name(); ?>
                        <div >
            <script type="text/javascript"><!--
google_ad_client = "ca-pub-7548335119849446";
/* Techs Leaderboard */
google_ad_slot = "9543222930";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>       </div>
            </div>

The website is http://techsdiary.com/ if you see it is not aligning with a gap from logo

Thank you

Was it helpful?

Solution

Just change the HTML to this:

<ins style="display:inline-table;border:none;height:90px;margin:0;padding:0;position:relative;visibility:visible;width:728px;float: right;">

Adding in float:right.. alternatively, you could also just add this to the stylesheet:

ins {
    float: right;
}

As a side note, why is there an iframe within an iframe within an iframe..?

Result:

enter image description here

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top