Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Where is column widths?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

pharic
Starting Member

14 Posts

Posted - 26 April 2005 :  07:35:53  Show Profile
Sorry guys, I know this must be too easy to bother with because there's no mention of it anywhere. (I've spent two days on this now)

I just want my forum's title column to be a bit wider and the other columns more apropriate for their contents. (half my page is taken up by topics, posts and last post).

I know it's there but where?

pharic

cripto9t
Average Member

USA
881 Posts

Posted - 26 April 2005 :  09:33:26  Show Profile
The columns are all auto, there are no set widths, except the member info on topics. I suggest writing a long description for at least one of your forums (like the forums on this site), that will widen the "forum title" column, rather than giving it a set width. That way it will wrap right on all screen sizes.

    _-/Cripto9t\-_
Go to Top of Page

pharic
Starting Member

14 Posts

Posted - 26 April 2005 :  13:54:14  Show Profile
Thanks Cripto9t

Well this is wierd! "Machines don't fix themselves" (Bob Hoskins, Brazil).

I tried it again and it was back to 50% of the screen.

The Title column of my "All Forums" page still occasionally shrinks to about 20% of the screen (I can't define exactly when because sometimes it does, sometimes not - even doing exactly the same thing), normally it's 50% but I want it to be 70%. I'm using firefox, 3.4.05, Access 2000.

I have already got a very long description. This is why I want it wider as it just wraps into a very tall column that has to be scrolled down. The page is already in a frame (I know) so it's like reading a newspaper column. Are the frames affecting it?

Any ideas welcome
Cheers
pharic
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 27 April 2005 :  07:58:25  Show Profile
I don't have any experience with frames, so it might be that. But I have seen Firefox and NS7 screw up a table from time to time.
They seem to load one cell at a time, where IE kinda pops up all at once.
So you might want to check it with another browser.
I am having a similar problem with successive fieldsets w/legend tags, they are all messed up using NS7... sometimes .

Anyway, this is the code for the top table row where you would set a cell width.
The part in red is the forum title.

In "default.asp" around line 297.
		"            <table border=""0"" width=""100%"" cellspacing=""1"" cellpadding=""4"">" & vbNewline & _
		"              <tr>" & vbNewline & _
		"                <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"
if Cat_ID <> "" then
	Response.Write	"<a href=""default.asp"">" & getCurrentIcon(strIconFolder,"Show All Categories","hspace=""0""") & "</a>"
else
	Response.Write 	" "
end if
Response.Write	"</font></b></td>" & vbNewline & _
		"                <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>"
if strGroupCategories = "1" then Response.Write(GROUPNAME) else Response.Write("Forum")
Response.Write	"</font></b></td>" & vbNewline & _
		"                <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Topics</font></b></td>" & vbNewline & _
		"                <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Posts</font></b></td>" & vbNewline & _
		"                <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Last Post</font></b></td>" & vbNewline
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then
	Response.Write	"                <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap valign=""top""><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Moderator(s)</font></b></td>" & vbNewline
end if 
	Response.Write	"                <td align=""center"" bgcolor=""" & strHeadCellColor & """>"
if (mlev = 4 or mlev = 3) or (lcase(strNoCookies) = "1") then 
	call PostingOptions()
else
	Response.write " "
end if 
Response.Write	"</td>" & vbNewline
Response.Write	"              </tr>" & vbNewline


    _-/Cripto9t\-_
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.39 seconds. Powered By: Snitz Forums 2000 Version 3.4.07