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

Link to comment
Share on other sites

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

 

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.