0
Hi Friends Today I am going to share, how to use 160px X 600Px Adsense ads which can be float right or left side of your blog and website.  Not only Adsense ads can be float but you can use any affiliates ads to make float.


Go to Blogger.com > Dashboard

Select Layout tab.

Click on "Add a Gadget" then select "HTML/JavaScript" Gadget.

Now Copy the below code and Paste it in "HTML/JavaScript" Gadget.


    <style>
    #thetricklabflotads {
    height:30px;
    width:auto;
    background: #333333 url('..');
    background-repeat:repeat-x;
    text-align:left;
    padding-top:4px;
    }
    #bsadsbase{
    height:600;
    margin:0auto;
    width:180px;
    background:#fff;
    border-bottom:2px #333333 solid;
    border-right:2px #333333 solid;
    border-left:2px #333333 solid;
    text-align:center;
    padding:4px;
    }
    #bsadsheadline{
    opacity:1.0;
    height:auto;
    width:auto;
    position:fixed;
    top:65px;
    left:10px;
    border-bottom:1px #005094 solid;
    border-bottom:0px blue solid;
    color:#333;
    padding:0px;
    z-index:1001;
    font-size:13px;}
    </style>
    <script type="text/javascript">
    function getValue()
    {
    document.getElementById("bsadsheadline").style.display = 'none';
    }
    </script>
    <div id="bsadsheadline">
    <div id="thetricklabflotads">
    <span style="color:#fff;font-size:13px;font-weight:bold;text-shadow:black 0.1em 0.1em 0.1em"></span>
    <span style="color:#fff;font-size:13px;font-weight:bold;text-shadow:black 0.1em 0.1em 0.1em;float:right;padding-top:3px;padding-right:10px"><a href="http://www.thetricklab.blogspot.com" target="_blank" onclick="getValue()">close(x)</a></span>
    </div>
    <div id="bsadsbase">
    <h3></h3>
    <p align="left"><h3></h3></p>
    <p>                                                                                                                        
    Ads code here    <br/></p></div></div>

 Replace "Ads code here" with your AdSense or others ads code.

    Change 180px to increase or decrease wide

    Change Left with right to float right side of your blog.

Post a Comment

 
Top