Adsense Alignment Issue

Discussions about the phpBB3 Forum. How to get the best from this powerful script.
Note that there is no official support for phpBB3 here, a place to share more than to ask for.

Moderator: Moderators

Adsense Alignment Issue

Postby yaashul » Sat Jan 31, 2009 8:15 pm

I'm using phpBB3 with eTech style and facing a very strange forum... I had set my Ad in the following scheme
Image

But out of 100 time 5 times I use to get ads in following way...
Image

I'm working on 1280*800 pixel screen... & checked it on 1440*900 Pixel as well... this problem persist in many resolution... Is this problem related to Styles/Hosting/Adsense?

I'm using etech theme made by CyberAlien. Here is what I have written to display Ads

Code: Select all
{$CA_BLOCK_START}
<table class="tablebg" width="100%">
{$CA_CAP_START}<h4>Advertisement</h4>{$CA_CAP_END}
   <tr>
      <td class="row1" align="center" style="white-space: nowrap;">
Ads Slot 1
Ad Slot 2
      </td>
   </tr>
</table>
{$CA_BLOCK_END}
<br clear="all" />


I had also used Advanced Mod Rewrite, Zero Dupilcate and Gymsitemap mod.
yaashul
PR1
PR1
 
Posts: 128
Joined: Wed Aug 29, 2007 1:21 am

Advertisement

Postby SeO » Sun Feb 01, 2009 10:09 am

Could be related to your special template variable prefixed with a $.

Code: Select all
{$CA_CAP_END}


Depending on what do you parse in these, it could explain the display, but it could as well be google's fault, hard to tell.


What do you use them for, and why a dollar sign ?
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm

Postby yaashul » Sun Feb 01, 2009 2:40 pm

Actually It ($) has been used by etech theme itself...
Even I'm trying to post two boxes on Topic pages

<!-- IF postrow.S_FIRST_ROW -->
/* First Boxes 336*280
/* Second Boxes 336*280*/
<!-- ENDIF -->

Even this come some times on top of each other... they shud come parallel...
yaashul
PR1
PR1
 
Posts: 128
Joined: Wed Aug 29, 2007 1:21 am

Postby yaashul » Mon Feb 02, 2009 4:07 am

I tried to generate this issue with Firefox but was not able to generate this issue...This issue lies in Internet Explorer only... especially IE7.0 (@least I 've tested it on IE7 on both Windows Xp/Vista)

Than I tried to check CSS validation of etech style (http://jigsaw.w3.org/css-validator/) and got couple of errors and lots of warning in that...

648 .attachcontent, html > body .postbody Property overflow-x doesn't exist in CSS level 2.1 but exists in [css3] : auto
808 Value Error : min-width Property min-width doesn't exist in all but exists in all : 0

on line 808 I found the following code...

Code: Select all
/* bugs */
@media all and (min-width: 0px)
{
   /* reset file input style for Opera - it changes only text color and border, but not bg color */
   .btnfile, .btnfile:hover, .btnfile:focus {
      border: none;
      background-color: #FFF;
      color: #000;
   }
}


What do u suggest I shud change to resolve this issue...
yaashul
PR1
PR1
 
Posts: 128
Joined: Wed Aug 29, 2007 1:21 am

Postby SeO » Mon Feb 02, 2009 11:09 am

Well, I don't think that a min-width (in deed not valid but in theory harmless) could explain that.

Could you post here the generated source code (no the template one) or post your site url ?
SeO
Admin
Admin
 
Posts: 6333
Joined: Wed Mar 15, 2006 9:41 pm


Return to phpBB Forum

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: Xee and 9 guests