Jix
02-02-2010, 02:10 PM
Strange problem I can't fix. It all started with me trying to have 3 google text ads side-by-side.
I added the google text ads at the bottom of each news article. They appear as displayed on this link (http://www.gameobserver.com/news/inside/all-platforms/-command-conquer-4-tiberian-twilight-open-multiplayer-beta-1146/). At the end of each news article there should be 3 125x125 text ads, side-by-side. One problem: the third one never appears and screws up the rest of the ads to the right of the page (in the Advertising box). 1 ad alone is ok, I get no problems anywhere. 2 ads appear fine, but the skyscraper ads to the right get screwed up. At 3 ads the third one doesn't appear and the side skyscraper ad screws up. I shudder to think what would happen if I'd put 4 ads... Here is the code I used:
<table border=0><tr>
<td>
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-6156873709869941\";
/* 125x125, created 2/2/10 */
google_ad_slot = \"4571094153\";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</td>
<td>
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-6156873709869941\";
/* 125x125, created 2/2/10 */
google_ad_slot = \"7617265647\";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</td>
<td>
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-6156873709869941\";
/* 125x125, created 2/2/10 */
google_ad_slot = \"8022534159\";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</td></tr></table>
I put the code between two </div>. And before you ask about the \" \" I have magic quotes on.
It seems like google's script doesn't like the ads side-by side. The same problem appears even when I remove the <td><tr><table> code that makes the ads appear sideways. I'm stumped... Do I need to add code between </script> and the next <script type=\"text/javascript\"> ???
I added the google text ads at the bottom of each news article. They appear as displayed on this link (http://www.gameobserver.com/news/inside/all-platforms/-command-conquer-4-tiberian-twilight-open-multiplayer-beta-1146/). At the end of each news article there should be 3 125x125 text ads, side-by-side. One problem: the third one never appears and screws up the rest of the ads to the right of the page (in the Advertising box). 1 ad alone is ok, I get no problems anywhere. 2 ads appear fine, but the skyscraper ads to the right get screwed up. At 3 ads the third one doesn't appear and the side skyscraper ad screws up. I shudder to think what would happen if I'd put 4 ads... Here is the code I used:
<table border=0><tr>
<td>
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-6156873709869941\";
/* 125x125, created 2/2/10 */
google_ad_slot = \"4571094153\";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</td>
<td>
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-6156873709869941\";
/* 125x125, created 2/2/10 */
google_ad_slot = \"7617265647\";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</td>
<td>
<script type=\"text/javascript\"><!--
google_ad_client = \"pub-6156873709869941\";
/* 125x125, created 2/2/10 */
google_ad_slot = \"8022534159\";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type=\"text/javascript\"
src=\"http://pagead2.googlesyndication.com/pagead/show_ads.js\">
</script>
</td></tr></table>
I put the code between two </div>. And before you ask about the \" \" I have magic quotes on.
It seems like google's script doesn't like the ads side-by side. The same problem appears even when I remove the <td><tr><table> code that makes the ads appear sideways. I'm stumped... Do I need to add code between </script> and the next <script type=\"text/javascript\"> ???