Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Atahualpa 3 Wordpress theme (http://forum.bytesforall.com/forumdisplay.php?f=2)
-   -   [SOLVED] Adsense Problems in Google Chrome (http://forum.bytesforall.com/showthread.php?t=11562)

bogdanvelea Dec 6, 2010 06:51 AM

[SOLVED] Adsense Problems in Google Chrome
 
Hello!

After I had problems with Adsense in Internet Explorer and after i Solved it (removing <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />), NOW I have a the same problem, but in Google Chrome.

My website is whichismyip.com
Look with Internet Explorer... Below search box You can see 2 adsense blocks on the same line...
1 2

Look with Google Chrome... You can see 2 adsense blocks that are not on the same line...
1
2

lmilesw Dec 6, 2010 06:29 PM

How did you place the adsense blocks. Are they wrapped in divs and floated?

bogdanvelea Dec 6, 2010 07:18 PM

i puted in Center Column - Content BELOW the LOOP:

<div align='center'><script type="text/javascript"><!--
google_ad_client = "pub-xxx";
/* whichismyip post ad 1 - 336x280 */
google_ad_slot = "9533362550";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script><script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><script type="text/javascript"><!--
google_ad_client = "pub-xxx";
/* whichismyip post ad 2 - 336x280 */
google_ad_slot = "6275060127";
google_ad_width = 336;
google_ad_height = 280;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script><br>

lmilesw Dec 6, 2010 10:02 PM

Maybe this would work. No guarantees.
HTML Code:

<div style="text-align:center;">
<div style="float:left;">
<script type="text/javascript"><!--
google_ad_client = "pub-xxx";
/* whichismyip post ad 1 - 336x280 */
google_ad_slot = "9533362550";
google_ad_width = 336;
google_ad_height = 280;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
</div>
<div style="float:left;">
<script type="text/javascript"><!--
google_ad_client = "pub-xxx";
/* whichismyip post ad 2 - 336x280 */
google_ad_slot = "6275060127";
google_ad_width = 336;
google_ad_height = 280;
//-->

</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">

</script>
</div>
</div>


bogdanvelea Dec 7, 2010 03:37 AM

I puted exactly what you said. It works... (you can see).. Thanks a lot!

One more question... how can i put these 2 blocks, on the center of the page.. ?
how can i allign these 2 blocks in center of the page? (i tried to modify "left" with "center".. but the blocks don't remain on the same line)

lmilesw Dec 7, 2010 10:32 AM

On the first line of code replace
HTML Code:

<div style="text-align:center;">
with
HTML Code:

<div style="width: 675px; margin-right: auto; margin-left: auto;">

bogdanvelea Dec 7, 2010 01:35 PM

Thank You again...

It looks very well!


All times are GMT -6. The time now is 04:35 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.