PDA

View Full Version : Edit header.....include AdSense


amagab
06-03-2008, 01:10 PM
I want to edit my header and include a Google AdSense banner on the right side of the logo.

Currently, the start of my header code (from logo to beginning of nav menu) looks like this:

-----------------------------------------

<!-- logo -->
<a name="top"></a>
<!-- /logo -->

<table width="800px" border="0" cellpadding="0" cellspacing="0" align="center" style="background: #d0dfeb; border-left:1px solid white; border-right:1px solid white;">
<tr>
<td class="bodyline"><table width="100%" cellspacing="0" cellpadding="0" border="0">

<tr>
<td align="left" width="100%" valign="middle"><img src="http://www.mysite.com/boards/images/xx/misc/tlogo.jpg">
<table width="100%" border="0" cellpadding="2" cellspacing="0" background="http://mysite.com/boards/images/xx/misc/cattitle_bg2.gif">
<tr>
<td height="39" align="center" valign="middle" nowrap="nowrap"><span class="mainmenu">&nbsp;
<a href="http://www.mysite.com/" class="mainmenu">Home</a>&nbsp .........

--------------------------

Can someone PLEASE tell me where and what to insert so I can place an AdSense banner.

Many thanks!

SEOvB
06-03-2008, 01:56 PM
maybe embed more tables in there?

<td align="left" width="100%" valign="middle"><img src="http://www.mysite.com/boards/images/xx/misc/tlogo.jpg">

add

</td>
<td align="right">Adsense code

amagab
06-03-2008, 02:20 PM
Thanks for your response. Unfortunately, that didn't work. Although my header stayed the same it for some reason screwed up the width of my forum.....it looked like it made it 100% fluid.

Guest210212002
06-03-2008, 11:15 PM
Are you looking for something like this?

http://www.sevenstring.org/chris/ssads.jpg

See my sig for the actual code, but if that's what you're looking for I can post up how I do it. The short version is that basically my entire header is it's own completely separate table.