1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Ad block on template bit messed up

Discussion in 'Forum Management' started by 993ti, Nov 17, 2005.

  1. #1
    Hmm, this is strange.
    I've added an ad block on my other site that i'm working on but it behind the tables.
    Check here to see how it should look like on all pages:
    http://www.streetcars.nl/index.php
    And here how it gets behind the table:
    http://www.streetcars.nl

    Any idea how this can happen?
    I've added this code in the template file (most of the code was already there):
    <table width="100%" border="0" cellspacing="0" cellpadding="10">
    </table>
    <tr> 
      <td class="bodyline" bordercolor="345487"><br>
    	<table align="RIGHT" border="0" width="200" cellspacing="1" cellpadding="0" bgcolor="345487">
    
    	  <tr> 
    		<td height="29" valign="MIDDLE" bgcolor="EEF2F7"><div align="center">
    <script type="text/javascript"><!--
    google_ad_client = "XXXXXXXXXXXXXXX";
    google_ad_width = 234;
    google_ad_height = 60;
    google_ad_format = "234x60_as";
    google_ad_type = "text";
    google_ad_channel ="";
    google_color_border = "EEF2F7";
    google_color_bg = "EEF2F7";
    google_color_link = "0000CC";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript"
      src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    </div></td>
    	  </tr>
    	</table>
    	<br>
    	<div align="right"> 
    	  <p><br>
    	  </p>
    	  </div>
    HTML:

     
    993ti, Nov 17, 2005 IP
  2. minstrel

    minstrel Illustrious Member

    Messages:
    15,082
    Likes Received:
    1,243
    Best Answers:
    0
    Trophy Points:
    480
    #2
    1. try moving the AdSense script outside the table - if necessary, close the table above it, insert the script, then open a new table for what follows it

    2. I assume this is in overall_header.tpl? if not, it should be
     
    minstrel, Nov 19, 2005 IP
  3. 993ti

    993ti Well-Known Member

    Messages:
    314
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    108
    #3
    Thx Minstrel, i'll try it out :)
    Yep, it's in overall_header.tpl ;)
     
    993ti, Nov 20, 2005 IP