PDA

View Full Version : Align two Adsense blocks above footer


ChangeFive
09-27-2010, 01:33 AM
I am trying to align two Google Adsense ads above the footer and on the same line. I have tried several ways to align them and am now using:

<div>
<SPAN STYLE="float:left"> *adsense code*
</span>

<SPAN STYLE="float:right">*adsense code*
</span>
<div style="clear:both">
</div>

This gets me:
https://vborg.vbsupport.ru/external/2010/09/10.jpg

I have also tried to float center the right adsense add, but then they are right against each other and touching. What I would like to do is have a little bit of space inbetween both of them, or somehow float them left and right within a specified fix width? I'm sure someone out there knows how to do this better than I do.

Thanks for looking!

ChangeFive
10-01-2010, 04:09 AM
Anyone?

iask
10-02-2010, 03:45 PM
Use

<div align="center">

<table width="1002" height="350" border="0">
<tr>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9504810291998803";
/* 336x280, gemaakt 29-9-10 */
google_ad_slot = "6789783290";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
&nbsp;</td>
<td><script type="text/javascript"><!--
google_ad_client = "pub-9504810291998803";
/* 336x280, gemaakt 29-9-10 */
google_ad_slot = "6789783290";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
&nbsp;</td>
</tr>
</table>


</div>

Look @ www.pctuts.be navbar