Help - Search - Members - Calendar
Full Version: Google Adsense help.
Invision Power Services > Community Forums > Community General Chat
Dracoy
I can't get the ad (the google ad) on the front page to center.

Do you think you guys know what the problem is?

Thanks.

edit

oops

my site is http://www.dracoy.com
marcele
You have your google ad between <tr> tags (that's invalid html) .. to be valid and centered you need it between <td></td> tags ..

eg
CODE
<table>
<tr>
<td align="center">
<script type="text/javascript"><!--
google_ad_client = "pub-6053042570648886";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
   <script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</td>
</tr>
</table>
Dracoy
It doesnt work. Check now.

I tried that.
marcele
That was just some example code .. it wasn't meant to be directly inserted in your site .. it was just put in there to show you how to make a proper table ..
Dracoy
I tried the TR and TDS and differnt combinations but it always made the thing go crazy to the side.

You have any suggestions? ive tried everything.

Here we go guys



Need to move that a bit to the right.

Thanks.
marcele
It looks to me like you might have the ad in the wrong table .. try changing it from this:

Old Code:
CODE
<tr valign="top" height="99%">
        <td>
            <img src="images/header_shadow_home.gif" width="748" height="11" alt=""><br>
            <!-- BODY TABLE; BEGIN -->



            <table width="748" border="0" cellpadding="0" cellspacing="0">


<script type="text/javascript"><!--
google_ad_client = "pub-6053042570648886";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
   <script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br>


                
                    <td>


Try this:
CODE
<tr valign="top" height="99%">
        <td align="center">
            <img src="images/header_shadow_home.gif" width="748" height="11" alt=""><br>
            <!-- BODY TABLE; BEGIN -->

<script type="text/javascript"><!--
google_ad_client = "pub-6053042570648886";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "image";
google_ad_channel ="";
google_color_border = "CCCCCC";
google_color_bg = "FFFFFF";
google_color_link = "000000";
google_color_url = "666666";
google_color_text = "333333";
//--></script>
   <script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>



            <table width="748" border="0" cellpadding="0" cellspacing="0">


                
                    <td>


The main thing is that any table content must go between <td></td> tags to be valid.
Dracoy
it work sthanks so much man!
marcele
No problem original.gif
Bryan
Nice site redesign.
.Aaron
The site slogan sounds awfully familiar. tongue.gif Nice design. original.gif
Dracoy
Gogo playstation.

But we can't think of a better one we had a competition and everything lol.

I really dont like ads but i heard GOogle ads by reading something in this forum gets ur forum crawled more so thats mainly the purpose.

Thanks fo rhelp guys.
ssj4gogita4
Don't use google adsense. Your account will get suspended. I'm 100% sure of this. I'll give you 2 weeks or less. :|

The "unique clicks" you get will come from the same members :|
Dracoy
What should i use then?
ssj4gogita4
Go ahead and use google adsense until you get your account suspended. It's just that it will happen sooner or later.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.