Jump to content

Adsense add change in different browsers stacked vs side by side


butter

Recommended Posts

I am having an issue with viewing of adsense add with different browsers. In Mozilla the add placement is the way i want it side by side. Then i decided to checked my side with explorer and they are stacked and it looks funky. The adds are placed at the end of overall_header.html if you want to take a look

http://www.tristatefishing.com

 

Anyone have any ideas on how to fix this problem

 

Mozilla GOOD :D

file.php?id=140

 

 

Explorer BAD!!  >:(

file.php?id=141

Find the following code within your source code:

<center>
<script type="text/javascript"><!--
google_ad_client = "pub-4070880939196883";
/* 468x60, created 10/6/10 */
google_ad_slot = "9658615419";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<script type="text/javascript"><!--
google_ad_client = "pub-4070880939196883";
/* 468x60, created 10/6/10  right */
google_ad_slot = "0639866636";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
</center>

 

Replace that with:

	<div style="margin: 0 auto; height: 60px; width: 936px;">
		<div style="float: left;">
			<script type="text/javascript"><!--
				google_ad_client = "pub-4070880939196883";
				/* 468x60, created 10/6/10 */
				google_ad_slot = "9658615419";
				google_ad_width = 468;
				google_ad_height = 60;
				//-->
			</script>
			<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
		</div>
		<div style="float: right;">
			<script type="text/javascript"><!--
				google_ad_client = "pub-4070880939196883";
				/* 468x60, created 10/6/10  right */
				google_ad_slot = "0639866636";
				google_ad_width = 468;
				google_ad_height = 60;
				//-->
			</script>
			<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
			</script>
		</div>
	</div>

 

Hope that helps!

Thanks,

Colton Wagner

 

 

You did it thank you sooooo much

 

thank you for taking the time to look at it and come up with the solution.

 

All i need now is to know if you have a Paypal account so i can send you something for your time.

 

PM me your email address

Thanks Again

:D

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.