chkdg8
12-02-2006, 04:01 AM
I'm new to adsense so I followed this thread here (http://www.vbadvanced.com/forum/showthread.php?t=2313&highlight=google+ad). The thread is pretty old and it's closed but I got it working for now. However the following code completely distorts my page:
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <!-- Module title here -->Google Ads </strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
<center><script type="text/javascript"><!--
google_ad_client = "pub-Put your google ad number here";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_color_border = "22229C";
google_color_bg = "E0E0F6";
google_color_link = "22229C";
google_color_url = "0F1D8C";
google_color_text = "3E5C92";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</td>
</tr>
</table>
<br />
I attached a pic so you can see what it looks like now on the left hand side of my site (http://www.strugglingactor.net). So what I did was not use the attached code and simply use the default adsense supplied code. This way, it doesn't cause the massive distortion. What I need is to make it look like every other module on my site enclosed inside it's own module and the module title on top instead on the bottom where it's at currently.
<table align="center" border="0" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" class="tborder" width="100%">
<tr>
<td class="tcat"><span class="smallfont"><strong>$vba_options[portal_blockbullet] <!-- Module title here -->Google Ads </strong></span></td>
</tr>
<tr>
<td class="$getbgrow" width="100%">
<center><script type="text/javascript"><!--
google_ad_client = "pub-Put your google ad number here";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as";
google_color_border = "22229C";
google_color_bg = "E0E0F6";
google_color_link = "22229C";
google_color_url = "0F1D8C";
google_color_text = "3E5C92";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
</td>
</tr>
</table>
<br />
I attached a pic so you can see what it looks like now on the left hand side of my site (http://www.strugglingactor.net). So what I did was not use the attached code and simply use the default adsense supplied code. This way, it doesn't cause the massive distortion. What I need is to make it look like every other module on my site enclosed inside it's own module and the module title on top instead on the bottom where it's at currently.