Properly putting adsense code

Discussion in 'HTML & Website Design' started by Argentum23, Apr 15, 2006.

  1. #1
    I use Microsoft FrontPage and I use shared borders on all my pages. I have the google adsense code installed on the leftmost edge of the right border. Now, in FrontPage it is lined up to the right edge of the "top" border, but when I upload the site, the adsense bar is further to the right. How do I get it to be centered below the right edge of the top border?
     
    Argentum23, Apr 15, 2006 IP
  2. madkad

    madkad Active Member

    Messages:
    1,686
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    90
    #2
    can you show us the page?
     
    madkad, Apr 15, 2006 IP
  3. Argentum23

    Argentum23 Banned

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    No problem.

    www.theweeklydebacle.com
     
    Argentum23, Apr 15, 2006 IP
  4. madkad

    madkad Active Member

    Messages:
    1,686
    Likes Received:
    83
    Best Answers:
    0
    Trophy Points:
    90
    #4
    OK try this you can see where I have done <!--I added--> that is the code I have added

    
    
    <html>
    
    <head>
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>The Weekly Debacle</title>
    <meta name="resource-type" content="document">
    <meta name="generator" content="Microsoft FrontPage 4.0">
    <meta http-equiv="pragma" content="no-cache">
    <meta name="revisit-after" content="3 days">
    <meta name="classification" content="Media">
    <meta name="description" content="The Weekly Debacle - a weekly show about politics with a video gallery, polls, articles, and more">
    <meta name="MSSmartTagsPreventParsing" content="TRUE">
    <meta name="keywords" content="weekly debacle,political news,funny videos,president bush,political discussion,political satire,video gallery,natan pakman,noah steinberg,video webcast,debacle,political outrage,democrats,republicans">
    <meta name="robots" content="ALL">
    <meta name="distribution" content="Global">
    <meta name="rating" content="Safe For Kids">
    <meta name="copyright" content="">
    <meta name="author" content="Natan Pakman">
    <meta http-equiv="reply-to" content="npakman@theweeklydebacle.com">
    <meta name="language" content="English">
    <meta name="doc-type" content=" ">
    <meta name="doc-class" content="Completed">
    <meta name="doc-rights" content="Copywritten Work">
    <meta name="Microsoft Border" content="tlrb, default">
    </head>
    
    <body bgcolor="#FFFFFF">
    <!--I added-->
    <table border="0" cellpadding="0" cellspacing="0" width="783">
    <tr>
     <td>
     <!--I added-->
    
    <!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
    <div align="left">
      <table border="0" cellpadding="0" cellspacing="0" width="933">
        <tr>
          <td width="933"><a href="Natan%20and%20Noah.html"><img border="0" src="_borders/Natan_photo.jpg" width="162" height="121" alt="Natan Pakman"></a><a href="index.html"><img border="0" src="_borders/This_will_suffice.jpg" alt="The Weekly Debacle" width="604" height="121"></a><a href="Natan%20and%20Noah.html"><img border="0" src="_borders/Noah_photo.jpg" width="162" height="121" alt="Noah Steinberg"></a></td>
        </tr>
      </table>
    </div>
    <div align="left">
      <table border="0" cellpadding="0" cellspacing="0" width="928" bgcolor="#000000">
        <tr>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
      </table>
    </div>
    <div align="left">
      <table border="0" cellpadding="0" cellspacing="0" width="928" bgcolor="#000000">
        <tr>
          <td width="120" valign="top" align="left"><b><font face="Times New Roman" size="3" color="#800080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </font><u><a href="index.html"><font face="Times New Roman" color="#0099CC" size="3">Home</font></a></u></b></td>
          <td width="133" valign="top" align="left"><b><font face="Times New Roman" size="3" color="#800080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </font><u><a href="theshow.html"><font face="Times New Roman" size="3" color="#0099CC">About
            Us</font></a></u></b></td>
          <td width="118" valign="top" align="left"><font color="#800080"><b><font face="Times New Roman" size="3">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </font></b>&nbsp;&nbsp;&nbsp;</font> <b><u><a href="http://www.theweeklydebacle.com/forum" target="_blank"><font face="Times New Roman" size="3" color="#0099CC">Forum</font></a></u></b></td>
          <td width="161" valign="top" align="left"><b><font face="Times New Roman" size="3" color="#800080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </font><u><a href="videos.html"><font face="Times New Roman" size="3" color="#0099CC">Video
            Gallery</font></a></u></b></td>
          <td width="110" valign="top" align="left"><b><font face="Times New Roman" size="3" color="#800080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </font><u><a href="partners.html"><font face="Times New Roman" size="3" color="#0099CC">Partners</font></a></u></b></td>
          <td width="128" valign="top" align="left"><b><font face="Times New Roman" size="3" color="#800080">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </font><u><a href="contact.html"><font face="Times New Roman" size="3" color="#0099CC">Contact
            Us</font></a></u></b></td>
        </tr>
      </table>
    </div>
    <div align="left">
      <table border="0" cellpadding="0" cellspacing="0" width="928" bgcolor="#000000">
        <tr>
          <td>&nbsp;</td>
        </tr>
      </table>
    </div>
    
    </td></tr><!--msnavigation--></table><!--msnavigation--><table dir="ltr" border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td valign="top" width="1%">
    <div align="left">
      <table border="0" cellpadding="2" cellspacing="0" width="161" height="600" bgcolor="#000000">
        <tr>
          <td height="432" valign="top" align="left">
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font color="#FFFFFF" size="3" face="Book Antiqua">THE
            DEBACLE</font></b>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><a href="previous.html"><b><font size="2" color="#0099CC" face="Book Antiqua">Previous
            Episodes</font></b></a></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font size="2" color="#0099CC" face="Book Antiqua">&nbsp;&nbsp;
            </font><a href="Episodes%20April.html"><font face="Book Antiqua" size="2" color="#0099CC">-April</font></a></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font size="2" color="#0099CC" face="Book Antiqua">&nbsp;&nbsp;
            </font><a href="Episodes%20March.html"><font face="Book Antiqua" size="2" color="#0099CC">-March</font></a><font face="Book Antiqua" size="2" color="#000000">&nbsp;&nbsp;&nbsp;</font></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font size="2" color="#0099CC" face="Book Antiqua">&nbsp;&nbsp;
            </font><a href="Episodes%20February.html"><font face="Book Antiqua" size="2" color="#0099CC">-February</font></a></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font face="Book Antiqua" size="2" color="#0099CC">&nbsp;&nbsp;
            </font><a href="Episodes%20January.html"><font face="Book Antiqua" size="2" color="#0099CC">-January</font></a></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font size="3" face="Book Antiqua" color="#FFFFFF">POLITICS</font></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><a href="http://www.massinc.org/index.php?id=417" target="_blank"><font size="2" color="#0099CC" face="Book Antiqua">10
            Regions of US Politics</font></a></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><a href="articles/framingdebate-allgop.html"><font size="2" color="#0099CC" face="Book Antiqua">Political
            Framing</font></a></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font face="Book Antiqua" size="3" color="#FFFFFF">MEDIA</font></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><a href="Corporate%20Media%20Complicity.html"><b><font face="Book Antiqua" size="2" color="#0099CC">Corporate
            Media Complicity</font></b></a></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><font size="3" face="Book Antiqua" color="#FFFFFF">NEW VIDEOS</font></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><a href="http://www.heartheissues.com/media/feb06/bush-brokebackquestion.wmv"><font face="Book Antiqua" size="2" color="#0099CC">Bush
            and Brokeback Mountain</font></a></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0"><b><a href="http://www.heartheissues.com/media/feb06/snl-cooperclintonnagin.wmv"><font face="Book Antiqua" size="2" color="#0099CC">SNL
            Spoofs Hillary Clinton, Ray Nagin, Jesse Jackson, Anderson Cooper</font></a></b></p>
            <p style="line-height: 100%; margin-top: 0; margin-bottom: 0">&nbsp;</p>
            <p style="line-height: 100%; word-spacing: 0; margin-top: 0; margin-bottom: 0"><b><a href="videos.html"><u><font size="2" color="#0099CC" face="Book Antiqua">More
            Videos...</font></u></a></b></p>
            <p></td>
        </tr>
      </table>
    </div>
    
    </td><td valign="top" width="2"></td><!--msnavigation--><td valign="top">
    <div align="left">
      <table border="0" cellpadding="5" cellspacing="5" width="556">
        <tr>
          <td width="560">
    		<p><b><font color="#003399" face="Times New Roman" size="4">This Week's
            Show:</font></b></p>
    		<table border="0" cellspacing="0" cellpadding="5" id="table6" height="157" bordercolorlight="#000000" bordercolordark="#000000" bgcolor="#FFFFFF">
    			<tr>
    				<td bgcolor="#000000" bordercolor="#000000">
                    <a href="http://www.theweeklydebacle.com/media/the_weekly_debacle-episode_12.wmv">
                    <img border="0" src="STILL.jpg" alt="The biases of bullies and their hypocrisy" width="232" height="217"></a></td>
    				<td width="542" height="147" bgcolor="#F8FFFF"><font face="Times New Roman" size="3">There
                      has been much discussion concerning the nature and importance
                      of objectivity in journalism and the extent to which
                      journalists should express their own opinions.&nbsp; Natan
                      discusses how Bill O'Reilly of Fox News is an excellent
                      example of someone who, on a daily basis, claims that he is
                      not politically-biased and at the same time contradicts that
                      in every word and gesture.&nbsp; Then, he shows Noah's
                      interview with Bill, who came by the studio.&nbsp;</font>
    				<p><b><a href="http://www.theweeklydebacle.com/media/the_weekly_debacle-episode_12.wmv"><font face="Times New Roman" size="3" color="#003399"><u>Click
                    here to </u>download</font></a></b></td>
    			</tr>
    		</table>
            <p align="left"><b><font color="#003399" face="Times New Roman" size="4">Last
            Week's Show:</font></b></p>
    		<table border="0" cellspacing="0" cellpadding="5" id="table7" height="157" bordercolorlight="#000000" bordercolordark="#000000" bgcolor="#FFFFFF">
    			<tr>
    				<td bgcolor="#000000" bordercolor="#000000">
                    <a href="http://www.theweeklydebacle.com/media/the_weekly_debacle-episode_11.wmv"><img border="0" src="STILLNEW.jpg" alt="Is the US a melting pot of immigration or xenophobia?" width="232" height="217"></a></td>
    				<td width="542" height="147" bgcolor="#F8FFFF"><font face="Times New Roman" size="3">Quite
                      suddenly, the issues of illegal immigration, immigration
                      reform, and their relation to border security, are dominating
                      the national news media.&nbsp; Natan begins the show with an
                      overview of the main groups involved and the ideas they
                      represent.&nbsp; Then, Noah, who claims to be on the US-Mexico
                      border, gives vacillating views regarding these issues
                      reminiscent of both our politicians and the complexity of
                      these questions.</font>
    				<p><b><a href="http://www.theweeklydebacle.com/media/the_weekly_debacle-episode_11.wmv"><font face="Times New Roman" size="3" color="#003399"><u>Click
                    here to </u>download</font></a></b></td>
    			</tr>
    		</table>
    		<p><b><a href="previous.html"><font color="#003399" face="Times New Roman" size="3">Previous Episodes</font></a></b></p>
          </td>
        </tr>
      </table>
    </div>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    <p>&nbsp;</p>
    &nbsp;<!--msnavigation--></td><td valign="top" width="20"></td><td valign="top" width="1%">
    <div align="left" style="width: 120; height: 510">
    	<table border="0" width="120" height="600" id="table1" align="left">
    		<tr>
    			<td align="left" valign="top">
    			<script type="text/javascript"><!--
    google_ad_client = "pub-2194904092735641";
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = "120x600_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "336699";
    google_color_bg = "FFFFFF";
    google_color_link = "0000FF";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    			</td>
    		</tr>
    	</table>
    </div>
    </td></tr><!--msnavigation--></table><!--msnavigation--><table border="0" cellpadding="0" cellspacing="0" width="100%"><tr><td>
    
    <p align="center"><b><a href="index.html"><font face="Times New Roman" size="3" color="#003399">Home</font></a><font face="Times New Roman" size="3" color="#003399">&nbsp;&nbsp;&nbsp;
    </font><a href="theshow.html"><font face="Times New Roman" size="3" color="#003399">About
    Us</font></a><font face="Times New Roman" size="3" color="#003399">&nbsp;&nbsp;&nbsp;&nbsp;
    </font><a href="http://www.theweeklydebacle.com/forum" target="_blank"><font face="Times New Roman" size="3" color="#003399">Forum</font></a><font face="Times New Roman" size="3" color="#003399">&nbsp;&nbsp;
    &nbsp; </font><a href="videos.html"><font face="Times New Roman" size="3" color="#003399">Video
    Gallery</font></a><font face="Times New Roman" size="3" color="#003399">&nbsp;&nbsp;&nbsp;
    </font><a href="partners.html"><font face="Times New Roman" size="3" color="#003399">Partners</font></a><font face="Times New Roman" size="3" color="#003399">&nbsp;&nbsp;&nbsp;
    </font><a href="contact.html"><font face="Times New Roman" size="3" color="#003399">Contact
    Us</font></a></b></p>
    
    </td></tr><!--msnavigation--></table>
    
    <!--I added-->
     </td>
    </tr>
    </table>
    <!--I added-->
    </body>
    
    HTML:
    NOTE: FrontPage plays with your coding so I and lots of others dont use it and

    
    <meta http-equiv="Content-Language" content="en-us">
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <title>The Weekly Debacle</title>
    <meta name="resource-type" content="document">
    <meta name="generator" content="Microsoft FrontPage 4.0">
    <meta http-equiv="pragma" content="no-cache">
    <meta name="revisit-after" content="3 days">
    <meta name="classification" content="Media">
    <meta name="description" content="The Weekly Debacle - a weekly show about politics with a video gallery, polls, articles, and more">
    <meta name="MSSmartTagsPreventParsing" content="TRUE">
    <meta name="keywords" content="weekly debacle,political news,funny videos,president bush,political discussion,political satire,video gallery,natan pakman,noah steinberg,video webcast,debacle,political outrage,democrats,republicans">
    <meta name="robots" content="ALL">
    <meta name="distribution" content="Global">
    <meta name="rating" content="Safe For Kids">
    <meta name="copyright" content="">
    <meta name="author" content="Natan Pakman">
    <meta http-equiv="reply-to" content="npakman@theweeklydebacle.com">
    <meta name="language" content="English">
    <meta name="doc-type" content=" ">
    <meta name="doc-class" content="Completed">
    <meta name="doc-rights" content="Copywritten Work">
    <meta name="Microsoft Border" content="tlrb, default">
    
    HTML:
    that isnt needed I would just have

    
    <title>The Weekly Debacle</title>
    <meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
    <meta name="description" content="The Weekly Debacle - a weekly show about politics with a video gallery, polls, articles, and more">
    <meta name="keywords" content="weekly debacle,political news,funny videos,president bush,political discussion,political satire,video gallery,natan pakman,noah steinberg,video webcast,debacle,political outrage,democrats,republicans">
    
    
    HTML:
    hope that works and helps
     
    madkad, Apr 15, 2006 IP
  5. Argentum23

    Argentum23 Banned

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thank you, it worked with some tweaking. I made the new table about 180 pixels wide instead of in the 700s.
     
    Argentum23, Apr 16, 2006 IP