Wanted help in putting Adsense code in blogger

Discussion in 'Placement / Reviews / Examples' started by nuttymarketer, May 28, 2006.

  1. #1
    Dear Friends,

    I am trying to put adsense code in my blogger blog. But it seems they have change the code and I am not able to put code in right place where use to do that. I was using the same template since last year. But it is very different code now...

    Here is the new code... Please tell me where should I put the code for leaderboard and one 336x280 code just below the Title of the post and date of the post....

    XXXXXXXXX Blog code begin XXXXXXX

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">



    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    <head>

    <title><$BlogPageTitle$></title>

    <$BlogMetaData$>

    <style type="text/css">
    /*
    -----------------------------------------------
    Blogger Template Style
    Name: Dots
    Designer: Douglas Bowman
    URL: www.stopdesign.com
    Date: 24 Feb 2004
    ----------------------------------------------- */


    body {
    background:#fff url("http://www.blogblog.com/dots/bg_dots.gif") 50% 0;
    margin:0;
    padding:0 10px;
    text-align:center;
    font:x-small Verdana,Arial,Sans-serif;
    color:#333;
    font-size/* */:/**/small;
    font-size: /**/small;
    }


    /* Page Structure
    ----------------------------------------------- */
    @media all {
    #content {


    background:url("http://www.blogblog.com/dots/bg_3dots.gif") no-repeat 250px 50px;
    width:700px;
    margin:0 auto;
    padding:50px 0;
    text-align:left;
    }
    #main {
    width:450px;
    float:right;
    padding:50px 0 20px;
    font-size:85%;
    }
    #main2 {
    background:url("http://www.blogblog.com/dots/bg_dots2.gif") -100px -100px;
    padding:20px 10px 15px;
    }
    #sidebar {
    width:200px;
    float:left;
    font-size:85%;
    padding-bottom:20px;
    }
    #sidebar2 {
    background:url("http://www.blogblog.com/dots/bg_dots2.gif") 150px -50px;
    padding:5px 10px 15px;
    width:200px;
    width/* */:/**/180px;
    width: /**/180px;
    }
    }
    @media handheld {
    #content {
    width:90%;
    }
    #main {
    width:100%;
    float:none;
    }
    #sidebar {
    width:100%;
    float:none;
    }
    #sidebar2 {
    width:100%;
    }
    }
    html>body #main, html>body #sidebar {
    /* We only give this fade from white to nothing to
    browsers that can handle 24-bit transparent PNGs */
    background/* */:/**/url("http://www.blogblog.com/dots/bg_white_fade.png") repeat-x left bottom;
    }


    /* Title & Description
    ----------------------------------------------- */




    @media all {
    #blog-title {
    margin:0 0 .5em;
    font:250%/1.4em Georgia,Serif;
    color:#353;
    }
    #blog-title a {
    color:#353;
    text-decoration:none;
    }
    #description {
    margin:0 0 1.75em;
    color:#996;
    }
    #blog-mobile-title {
    display:none;
    }
    #description-mobile {
    display:none;
    }
    }
    @media handheld {
    #blog-title {
    display:none;
    }
    #description {
    display:none;
    }
    #blog-mobile-title {
    display:block;
    margin:0 0 .5em;
    font:250%/1.4em Georgia,Serif;
    color:#353;
    }
    #blog-mobile-title a {
    color:#353;
    text-decoration:none;
    }
    #description-mobile {
    display:block;
    margin:0 0 1.75em;
    color:#996;
    }
    }

    /* Links
    ----------------------------------------------- */
    a:link {
    color:#488;
    }
    a:visited {
    color:#885;
    }
    a:hover {
    color:#000;
    }
    a img {
    border-width:0;
    }


    /* Posts
    ----------------------------------------------- */
    .date-header {



    margin:0 0 .75em;
    padding-bottom:.35em;
    border-bottom:1px dotted #9b9;
    font:95%/1.4em Georgia,Serif;
    text-transform:uppercase;
    letter-spacing:.3em;
    color:#663;
    }
    .post {
    margin:0 0 2.5em;
    line-height:1.6em;
    }
    .post-title {
    margin:.25em 0;
    font:bold 130%/1.4em Georgia,Serif;
    color:#333;
    }
    .post-title a, .post-title strong {
    background:url("http://www.blogblog.com/dots/bg_post_title.gif") no-repeat 0 .25em;
    display:block;
    color:#333;
    text-decoration:none;
    padding:0 0 1px 45px;
    }
    .post-title a:hover {
    color:#000;
    }
    .post p {
    margin:0 0 .75em;
    }
    p.post-footer {
    margin:0;
    text-align:right;
    }
    p.post-footer em {
    display:block;
    float:left;
    text-align:left;
    font-style:normal;
    color:#996;
    }
    a.comment-link {
    /* IE5.0/Win doesn't apply padding to inline elements,
    so we hide these two declarations from it */
    background/* */:/**/url("http://www.blogblog.com/dots/icon_comment.gif") no-repeat 0 .25em;
    padding-left:15px;
    }
    html>body a.comment-link {
    /* Respecified, for IE5/Mac's benefit */
    background:url("http://www.bl

    XXXXXXXXX Blog code end XXXXXXX
     
    nuttymarketer, May 28, 2006 IP
  2. bschneider5

    bschneider5 Active Member

    Messages:
    1,009
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    88
    #2
    Youre missing a great deal of code there. Try puting it within a
     tag
    Code (markup):
     
    bschneider5, May 28, 2006 IP