Where should I add the Adsense code?

Discussion in 'HTML & Website Design' started by crazyhorse, Oct 10, 2005.

  1. #1
    Hi

    I dont have that much knowlegde about html but I was wondering where I should place the google adsense code. This is the htm page Im using:
    
    <HTML>
    <HEAD>
    <TITLE>Title</TITLE>
    
    <STYLE TYPE="text/css">
    <!--
    /* page size information */
    .pg{position:absolute;top:0px;left:0px;height:1056px;width:816px;}
    
    /* some global information */
    BODY{font-family:Arial,Helvetica,sans-serif;font-size:15px;color:#000000;background-color:#ffffff;}
    A{text-decoration:none;}
    
    /* text positioning information */
    .ps0{position:absolute;top:989px;left:96px;width:337px;}
    .ps1{position:absolute;top:95px;left:135px;width:22px;}
    .ps2{position:absolute;top:95px;left:173px;width:509px;}
    .ps3{position:absolute;top:114px;left:96px;width:483px;}
    .ps4{position:absolute;top:151px;left:135px;width:13px;}
    .ps5{position:absolute;top:151px;left:173px;width:94px;}
    .ps6{position:absolute;top:188px;left:135px;width:13px;}
    .ps7{position:absolute;top:188px;left:173px;width:112px;}
    .ps8{position:absolute;top:224px;left:135px;width:12px;}
    .ps9{position:absolute;top:224px;left:173px;width:112px;}
    .ps10{position:absolute;top:261px;left:135px;width:13px;}
    .ps11{position:absolute;top:261px;left:173px;width:112px;}
    .ps12{position:absolute;top:151px;left:454px;width:13px;}
    .ps13{position:absolute;top:151px;left:492px;width:112px;}
    .ps14{position:absolute;top:188px;left:454px;width:9px;}
    .ps15{position:absolute;top:188px;left:492px;width:112px;}
    .ps16{position:absolute;top:224px;left:454px;width:13px;}
    .ps17{position:absolute;top:224px;left:492px;width:112px;}
    .ps18{position:absolute;top:893px;left:238px;width:340px;}
    .ps19{position:absolute;top:928px;left:275px;width:266px;}
    
    /* font properties information */
    .ft0{font-style:normal;font-weight:normal;font-size:15px;font-family:"Arial", Arial,Helvetica,sans-serif;color:#000000;}
    .ft1{font-style:italic;font-weight:bold;font-size:14px;font-family:"Arial", Arial,Helvetica,sans-serif;color:#ff0000;}
    
    /* nested font properties infomation */
    
    /* bitmap image information */
    .pa0{position:absolute;top:167px;left:172px;width:97px;}
    .pa1{position:absolute;top:203px;left:172px;width:115px;}
    .pa2{position:absolute;top:240px;left:172px;width:115px;}
    .pa3{position:absolute;top:277px;left:172px;width:115px;}
    .pa4{position:absolute;top:167px;left:491px;width:115px;}
    .pa5{position:absolute;top:203px;left:491px;width:115px;}
    .pa6{position:absolute;top:240px;left:491px;width:115px;}
    .im0{position:absolute;top:317px;left:166px;width:484px;}
    
    -->
    </STYLE>
    
    </HEAD>
    
    <BODY><!-- page size information above is used here -->
    <DIV CLASS="pg" style="width: 816; height: 1060"></DIV>
    
    <!-- bitmap and vector images are written here -->
    <DIV CLASS="pa0"><IMG SRC="../images/anatomy1_29_p0.jpg" HEIGHT=4 WIDTH=97 BORDER=0></DIV>
    <DIV CLASS="pa1"><IMG SRC="../images/anatomy1_29_p1.jpg" HEIGHT=4 WIDTH=115 BORDER=0></DIV>
    <DIV CLASS="pa2"><IMG SRC="../images/anatomy1_29_p2.jpg" HEIGHT=4 WIDTH=115 BORDER=0></DIV>
    <DIV CLASS="pa3"><IMG SRC="../images/anatomy1_29_p3.jpg" HEIGHT=4 WIDTH=115 BORDER=0></DIV>
    <DIV CLASS="pa4"><IMG SRC="../images/anatomy1_29_p4.jpg" HEIGHT=4 WIDTH=115 BORDER=0></DIV>
    <DIV CLASS="pa5"><IMG SRC="../images/anatomy1_29_p5.jpg" HEIGHT=4 WIDTH=115 BORDER=0></DIV>
    <DIV CLASS="pa6"><IMG SRC="../images/anatomy1_29_p6.jpg" HEIGHT=4 WIDTH=115 BORDER=0></DIV>
    <DIV CLASS="im0"><IMG SRC="../images/anatomy1_29_0.jpg" HEIGHT=559 WIDTH=484 BORDER=0></DIV>
    
    <!-- text starts here -->
    <NOBR><SPAN CLASS="ps0 ft0">                                                       1-17</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps1 ft0">18.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps2 ft0">In figure 1-8, parts of a "typical animal cell" are marked with the letters a</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps3 ft0">through g.  In the spaces below, provide the name of each structure.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps4 ft0">a.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps5 ft0">                     </SPAN></NOBR>
    <NOBR><SPAN CLASS="ps6 ft0">b.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps7 ft0">                         </SPAN></NOBR>
    <NOBR><SPAN CLASS="ps8 ft0">c.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps9 ft0">                         </SPAN></NOBR>
    <NOBR><SPAN CLASS="ps10 ft0">d.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps11 ft0">                         </SPAN></NOBR>
    <NOBR><SPAN CLASS="ps12 ft0">e.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps13 ft0">                         </SPAN></NOBR>
    <NOBR><SPAN CLASS="ps14 ft0">f.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps15 ft0">                         </SPAN></NOBR>
    <NOBR><SPAN CLASS="ps16 ft0">g.</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps17 ft0">                         </SPAN></NOBR>
    <NOBR><SPAN CLASS="ps18 ft0">Figure 1-8.  A "typical" animal cell (exercise 18).</SPAN></NOBR>
    <NOBR><SPAN CLASS="ps19 ft1">Check Your Answers on Next Page</SPAN></NOBR>
    
    
    <script src="global.js"></script>
    <script src="scripts.js"></script>
    <script src="toolbar.js"></script>
    </BODY>
    
    </HTML> 
    Code (markup):
    I have noticed before that if I place it anywhere between the coding it will be situated directly at the top. Anyone any ideas why and how to solve it?

    Thanks
     
    crazyhorse, Oct 10, 2005 IP
  2. GuyFromChicago

    GuyFromChicago Permanent Peon

    Messages:
    6,728
    Likes Received:
    529
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Where do you want Adsense to appear on the page?
     
    GuyFromChicago, Oct 10, 2005 IP
  3. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I would like it to be placed underneath this line:
    
    <NOBR><SPAN CLASS="ps2 ft0">In figure 1-8, parts of a "typical animal cell" are marked with the letters a</SPAN></NOBR> 
    Code (markup):
     
    crazyhorse, Oct 10, 2005 IP
  4. KIbeth

    KIbeth Active Member

    Messages:
    374
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    60
    #4
    ok stop for a second, just to note that i am probably completely wrong, try using a paragraph tag, <p> </p>.
    I too have had the same problem with those ads, and i never managed to solve it.
     
    KIbeth, Oct 10, 2005 IP
  5. crazyhorse

    crazyhorse Peon

    Messages:
    1,137
    Likes Received:
    19
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for the hel guys but that isnt the solution or you would need to be a bit more specific where to add the html tags. I have tried it but its still shows up automatically at the top.
     
    crazyhorse, Oct 10, 2005 IP