I can't be certain, but I suspect that the real culprit is the table near the top that holds your tree navigation (the part with the folders and all). I suspect that because it's set to "nowrap" and only a third of the table, its pushing the rest of the table out. Since that table is increasing the available screen width, the rest of the tables are taking advantage of it. Notice how the regular forum table is also stretched out.
Its the same problem I have with the sub forums over at Warsong Records. As a matter of fact, since I edited the table, the only time its a problem is on monitors set to 800x600 and if they are actually in a sub-forum.
In topic.asp forum.asp (probably somewhere around line 400ish depending on the modifications you made) your outputting this:
I'd get rid of that, span the first one over and it should solve the problem.
As always, make backups first.
BTW, I love the slick look you've got there. Now I've got to go home and work on my icons and gradients etc.
(It wasn't until after the third cup of coffee that I realized I was thinking "forum.asp" and typing "topic.asp" ... guess I should wait until at least the second cup before answering here eh?)
Now that I really think about it, the problem is probably going to be the same in both...<
Thank you very much for your help, AnonJr, you're very kind... I've tried to make the changes you suggest, but nothing happens...or very probably I just misunderstood what you suggested.... This is the forum.asp file, can you please take a look at it? www.italyworldtrade.it/forum_asp.txt
The part in red is telling the text to not wrap, and the part in blue is saying that that portion of the table needs to be 33% in width. A little further down you have lines 459 and 460 that give an empty table cell that is also going to be 33% in width. For reference:
And line 489 sets up the third table row to also be 33%.
" <td width=""33%"">" & vbNewLine & _
I think the problem is that the long titles combined with the nowrap in the first <td> are causing that table to be so large that it effectively pushes the outer boundary of the page, and the table with the subforums, which is set to 100% is using the new boundary instead of the actual window size.
and comment out lines 459 and 460 it should stop the table that holds the tree structure from 'pushing' the boundaries of the page larger than the window, and allow the table that holds the subforums to use the correct width.
Oh, and don't forget to keep a backup of the page handy just in case.
You may need to do the same or something similar to topic.asp as well since the extra tree level with the long titles will likely push the table out there too.<
I've made the changes in forum.asp you suggest, AnonJr, but title don't wrap automatically yet BTW, I need also to delete Topics, Read and Replies columns (leaving the "Last Post" oneonly) both in default.asp and in forum.asp pages...I found this 3d about this topic http://forum.snitz.com/forum/topic.asp?TOPIC_ID=33661 do you think I could implement it easily with your sub-forums MOD?
Well, Mark, I've solved the not-wrapping titles prob: the cause was in the position of inc_jump_to.asp include in forum.asp, relating to the extreme width of titles. I've simply moved the include just below the WriteFooter (line 819) and now titles wrap normally, please take a look at www.italyworldtrade.it/iwtdba/forum.asp?forum_id=10 to see. <
if anyones interested im gonna expand this mod in the next few weeks to allow individual members to have and moderate their own subforums (not just being made moderator of that forum as normal), if anyone wants it I'll post the code when I'm done<
if anyones interested im gonna expand this mod in the next few weeks to allow individual members to have and moderate their own subforums (not just being made moderator of that forum as normal), if anyone wants it I'll post the code when I'm done
Sorry rabufo, I haven't forgotten about you (or the updates I still need to make to this MOD)... Its been kinda hectic here at the hospital. I'll try to have something up tonight.
Jezmeister that sounds like a neat idea. Are you thinking of having like a "Members Area" forum, with each member having his/her own sub-forum therein?<
That's pretty much the idea, I want to give them a "control panel" too though, so they can edit the name of their forum, choose their forums moderators (without granting the members they give moderation powers to moderator level... if ya get what I mean), maybe skins etc... it shouldn't really be too much work... I'm a little snowed under with other stuff atm tho so it might be a few weeks til I get it finished<
Most of that shouldn't be too bad. I think you might be in for more work than you realize with allowing them to choose moderators for their own sub-forum and the skins.
Sorry rabufo, I haven't forgotten about you (or the updates I still need to make to this MOD)... Its been kinda hectic here at the hospital. I'll try to have something up tonight.
Thank you, AnonJr... BTW...at the hospital!?? I'm a doc....you too?<