 | [Solved] Index page alignment issue causing headaches |  |
Posted: 06/25/2007 9:32 PM |
|
|
|
|
|
| Sparrow |
| Posts |
20 |
| Word Cnt. |
1,844 |
| BDay |
Dec 25 |
| Sign |
Capricorn |
| Sex |
 |
|
|
|
Joined: Jun 25, 2007
Local time: 4:46 AM
Location: Kingaroy, QLD
|

|
|
|
|
 |
First of all I would like to thank Sarah for referring me to this website for my ongoing PHPBB problem which I have been unsuccessful in finding a solution for!
This problem has been posted on both PHPBB.com and PHPBBhacks.com support forums, but have been unsuccessful in getting support which has fixed the problem - so if anybody here can help me with it, it would really mean a lot!
The problem is the following:
Some of our members (but not all) are having the following with the index page displaying in their browsers...
http://i57.photobucket.com/albums/g207/MzCatieBoo/TPS1.jpg
I am at a loss as to what could be causing it as I have personally never experienced the problem myself, here is how the forum displays for me:
http://img.photobucket.com/albums/v630/redtrinity/screenshot.jpg
The first time it happened I replaced index_body.tpl with a recent backup and the problem disappeared, but then for no apparent reason a few weeks ago members reported it happening again out of the blue. I hadn't edited that file during that timeframe at all so I don't believe that it would have been anything I had changed.
It appears to be a more common problem with Firefox users, nobody has reported the problem as happening with IE as yet. However not all FF users are experiencing it - I myself am a FF user but have never experienced any alignment issues with the index page.
I should also mention that I am using the latest version of FF (2.0.0.4) however another is using the same version and they are having the alignment problem. So its apparently not related to browser version, nor is it resolution issue as we have compared these and there doesn't seem to be any pattern.
Would really appreciate any help with this ongoing headache if anybody has any ideas.
Our URL is: http://www.theparentingsanctuary.net/forums
Thanks in advance!
Regards,
Nikki. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Index page alignment issue causing headaches |  |
Posted: 06/26/2007 12:34 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:46 PM
Location: St Pete, FL
|

|
|
|
|
 |
Welcome to RCF Nikki!!!
The first thing that I see is the following at the top of your page. This is probably an error in your overall_header.tpl or template css file. You should search for it in both:
| Code:
|
|
/* IE hack to emulate the :hover & :focus pseudo-classes Add the selectors below that required the extra attributes */ .row1h, .row1h-new { behavior: url("./templates/aphrodite_mc/pseudo-hover.htc"); }
|
This might be enough to cause the problem that you are describing. I've found the Firefox is a very fussy browser and quickly becoming one of my least favorite. I use Opera and the page loads perfectly as it does for you. I've also tried displaying the page in Firefox 1.5.2 and Firefox 2.0.0.4 without any problems. But the fact that it isn't displaying properly for some of your Firefox members doesn't surprise me...
I've found that Firefox is very fussy when combining percentage and hardcoded width and height settings. If you have a major table that has a width setting of 100%, then columns of width=20, for instance, it may not display correctly for Firefox users. The biggest problem I've seen is when some columns are set to a fixed width while others are set to a percentage value, usually 100%. So if you have any columns that are mixing both percentage and fixed width settings, remove the width="100%" from the adjusting column and see if that helps. If the table width is set to 100%, then the column should still adjust correctly...
If I have totally confused you, don't hesitate to say so. You have done a very good job describing your odd problem so it sounds like you have a good understanding of this stuff. So between the two of us, if there is an answer, I'm sure we can find and correct it...
Edit: After registering and logging in, I see that the page is not displaying properly for me either in Firefox 2, which believe it or not, is a good thing. Since I can recreate the problem, that should make it easier to find the problem and fix it. The fact that the page displays properly when logged off, but not when logged in is a very good clue of where to look...
Welcome to RCF RisingAngel!!!
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Index page alignment issue causing headaches |  |
Posted: 06/26/2007 12:51 AM |
|
|
|
|
|
| Sparrow |
| Posts |
20 |
| Word Cnt. |
1,844 |
| BDay |
Dec 25 |
| Sign |
Capricorn |
| Sex |
 |
|
|
|
Joined: Jun 25, 2007
Local time: 4:46 AM
Location: Kingaroy, QLD
|

|
|
|
|
 |
Hi Nightrider and thanks for the welcome!
Wow, I have no doubt at all as to why I have gotten a recommendation to sign up here, you have already provided a lot more information than most have previously with this! I am very grateful.
Ok with the line of coding at the top of the page, its related to the My Profile Space MOD and has been reported previously to the author - he provided me with an alternative to try out however it caused further issues so I foolishly didn't bother following it up any further, mainly because I found the code only appeared randomly every now and again and not consistently.
I will have to go back and talk to them about it I think!
I appreciate your advice in regards to Firefox, I did initially have widths for various features on the index page (forum banner, shoutbox etc) set at certain amounts and played around with the 100% option instead - now that you have confirmed it as a strong possibility of causing the alignment issue I might have to play around with it some more to see if I can get it to co-operate. I don't think I have altered the width options in index_body.tpl so I will try that next!
Its very difficult for me to work with this because of the inability to recreate the problem myself, so I have to rely on the feedback of others as to whether there is any improvement or not after changes being made.
Thanks again for the support, I will most definately be sticking around here for the long run I am sure as you already seem like a lovely bunch of people
I will let you know how I go (if I can work that out via other users lol)
Regards,
Nikki  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Index page alignment issue causing headaches |  |
Posted: 06/26/2007 1:08 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:46 PM
Location: St Pete, FL
|

|
|
|
|
 |
Nikki, I managed to download your overall_header.tpl, index_body.tpl, overall_footer.tpl, and style_lightblue.css files. The first thing that stands out is the following line, which you should adjust first to see if it fixes the problem:
OPEN
templates/aphrodite_mc/overall_header.tpl
FIND
REPLACE WITH
It is hard for me to fix problems if I can't recreate them, so I can completely understand your dilemma. But since I can recreate the problem, that will greatly help in tracking it down and resolving it. Hopefully we can get this fixed right away. It's very possible that the problem I outlined above will fix the offset problem as well as remove the message at the top of the page...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Index page alignment issue causing headaches |  |
Posted: 06/26/2007 1:15 AM |
|
|
|
|
|
| Sparrow |
| Posts |
20 |
| Word Cnt. |
1,844 |
| BDay |
Dec 25 |
| Sign |
Capricorn |
| Sex |
 |
|
|
|
Joined: Jun 25, 2007
Local time: 4:46 AM
Location: Kingaroy, QLD
|

|
|
|
|
 |
Thanks Nightrider, I just changed that line so please let me know if it has made any difference at all
I also just changed a few of the width lines around for both overall_header.tpl and index_body.tpl to see if that would help at all....
Regards,
Nikki  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Index page alignment issue causing headaches |  |
Posted: 06/26/2007 1:19 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:46 PM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, that got rid of the error at the top of the page, but the offset problem is still there. Do you have any tplxxx files stored in your cache folder? If you have eXtreme Styles installed, you probably do. If so, go ahead and delete all the tpl_xxx files where xxx can be any of your template filenames...
I've checked both the overall_header.tpl and overall_footer.tpl files and found nothing obvious wrong with either one. I am in the process of reviewing your index_body.tpl file for problems...
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Index page alignment issue causing headaches |  |
Posted: 06/26/2007 1:25 AM |
|
|
|
|
|
| Sparrow |
| Posts |
20 |
| Word Cnt. |
1,844 |
| BDay |
Dec 25 |
| Sign |
Capricorn |
| Sex |
 |
|
|
|
Joined: Jun 25, 2007
Local time: 4:46 AM
Location: Kingaroy, QLD
|

|
|
|
|
 |
Ok cache is all cleared out  |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Index page alignment issue causing headaches |  |
Posted: 06/26/2007 1:32 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:46 PM
Location: St Pete, FL
|

|
|
|
|
 |
Ok, that didn't solve the problem either. I did find a couple of fairly significant problems in your index_body.tpl file.
OPEN
templates/aphrodite_mc/index_body.tpl
FIND
| Code:
|
|
<center>{SHOUTBOX_BODY}
|
REPLACE WITH
| Code:
|
|
<center>{SHOUTBOX_BODY}</center>
|
The following code seems to have been added to the wrong place in the file. Since it has a colspan setting of 3, it doesn't seem to belong anywhere on this page...
FIND & DELETE
| Code:
|
<!-- BEGIN switch_forum_link_on -->
<td class="row2" align="center" valign="middle" height="50" colspan="3"><span class="gensmall">{catrow.forumrow.FORUM_LINK_COUNT}</span></td>
<!-- END switch_forum_link_on -->
|
 |
|
|
 |
 |
| Back to Top |
|
|
 | Re: [Solved] Index page alignment issue causing headaches |  |
Posted: 06/26/2007 1:41 AM |
|
|
|
|
|
| Sparrow |
| Posts |
20 |
| Word Cnt. |
1,844 |
| BDay |
Dec 25 |
| Sign |
Capricorn |
| Sex |
 |
|
|
|
Joined: Jun 25, 2007
Local time: 4:46 AM
Location: Kingaroy, QLD
|

|
|
|
|
 |
Ok have fixed the shoutbox end tag and deleted the 2nd code from index_body.tpl
I should mention that a member has brought this to my attention within the last 5 mins...
| Quote:
|
|
Am I the only one getting "<![endif]-->" on a white screen for about 30 seconds everytime I change page?
|
Looks like that code from overall_header hasn't just finished with us yet lol. |
|
|
 |
 |
| Back to Top |
|
|
 | Re: Index page alignment issue causing headaches |  |
Posted: 06/26/2007 1:46 AM |
|
|
|
|
|
| Site Admin |
| Posts |
30757 |
| Word Cnt. |
2,628,690 |
| BDay |
Jul 28 |
| Sign |
Leo |
| Sex |
 |
|
|
|
Joined: Sep 25, 2004
Local time: 2:46 PM
Location: St Pete, FL
|

|
|
|
|
 |
Yep, that is a problem too...
Ok, try this:
OPEN
templates/aphrodite_mc/overall_header.tpl
FIND
REPLACE WITH
 |
|
|
 |
 |
| Back to Top |
|
|
 | Information |  |
|