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: MOD Implementation
 Site integration problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 04 July 2010 :  16:02:07  Show Profile
I have a problem with the tables displaying correctly since I added this mod.

first is what I get on default.asp..

What I am trying to do is push the title image over so it lines up with the forum grid and leaves a gap between it and the left hand navigation.

in forum.asp the gap is much wider and the left navigation is much wider too..


in topic.asp it's much the same as default but the navigation is wider....


I am trying to get some consistancy throughout and have been trying to adjust inc_header without success

the first 2 lines of my inc_site_left are..
<table border="4" cellspacing="4" bgcolor="cornsilk" bordercolor="green" cellpadding="10">
<tr valign="top">

any help and advice would be gratefully received

Dave

No good at coding, but I can plough a field !!

AnonJr
Moderator

United States
5768 Posts

Posted - 04 July 2010 :  16:33:17  Show Profile  Visit AnonJr's Homepage
If no one replies by Wed., bump it up and I'll see if I can help.

It would help if you posted a link to the site... that way we could start with the finished HTML and work back from there where the problem may be.
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 05 July 2010 :  16:22:16  Show Profile
Just an update:
I think I have located the problem to this block of code in forum.asp

  Response.Write "      </table>" & vbNewLine & _
" <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td bgcolor=""" & strTableBorderColor & """>" & vbNewLine & _
" <table border=""0"" width=""100%"" cellspacing=""1"" cellpadding=""4"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """> </font></b></td>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Topic</font></b></td>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Author</font></b></td>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Replies</font></b></td>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Read</font></b></td>" & vbNewLine & _
" <td align=""center"" bgcolor=""" & strHeadCellColor & """><b><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strHeadFontColor & """>Last Post</font></b></td>" & vbNewLine
if mlev > 0 or (lcase(strNoCookies) = "1") then
Response.Write " <td align=""center"" bgcolor=""" & strHeadCellColor & """ nowrap><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
if (AdminAllowed = 1) then
call ForumAdminOptions
else
Response.Write "  " & vbNewLine
end if
Response.Write " </font></td>" & vbNewLine
end if
Response.Write " </tr>" & vbNewLine
if iTopicCount = "" then
Response.Write " <tr>" & vbNewLine & _
" <td colspan=""7"" bgcolor=""" & strForumCellColor & """><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """ color=""" & strForumFontColor & """><b>No Topics Found</b></font></td>" & vbNewLine & _
" </tr>" & vbNewLine


what appears to be happening is that the main forum table isn't extending to 100% when the inc_site_right is activated.



...



I have got the inc_site_right to hold it's station at 150px wide and was under the assumption that ..
" <table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _
in forum.asp should force the main forum table to fill the rest of the available space??

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

bobdsw
New Member

United States
62 Posts

Posted - 05 July 2010 :  19:43:27  Show Profile  Visit bobdsw's Homepage
Add the bit in red:
<table border=""0"" width=""100%"" cellspacing=""0"" cellpadding=""0"" align=""center"">" & vbNewLine & _ 
     "        <tr>" & vbNewLine & _ 
     "          <td width=""100%"" bgcolor=""" & strTableBorderColor & """>" & vbNewLine & _

I think the table is filling the width of the TD, but the TD isn't filling out the available width.

Phoenix! - Ful site integration, CSS driven & XHTML compliant, MooTools, TinyMCE editor for posts & custom content management, , Visual Theme Designer, custom menus & pages, member galleries with ASP JPeg and ASPResize, ASP WordPress style Blog, web friends, FaceBook, Twitter & other social-sharing integration, ReCaptcha & Anti-Spam Registration...and much more.

Edited by - bobdsw on 05 July 2010 19:44:07
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 06 July 2010 :  01:35:35  Show Profile
Thanks for that, sadly it didn't help.

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

bobdsw
New Member

United States
62 Posts

Posted - 06 July 2010 :  05:55:00  Show Profile  Visit bobdsw's Homepage
I seem to recall running into something like this, although probably not the exact same thing, but I can't recall what it was. If you can send me a link and i can view the rendered HTML of the page when it fails I think I can help figure out what it is.

Phoenix! - Ful site integration, CSS driven & XHTML compliant, MooTools, TinyMCE editor for posts & custom content management, , Visual Theme Designer, custom menus & pages, member galleries with ASP JPeg and ASPResize, ASP WordPress style Blog, web friends, FaceBook, Twitter & other social-sharing integration, ReCaptcha & Anti-Spam Registration...and much more.
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 08 July 2010 :  02:00:03  Show Profile
This has now been sorted, thanks to bobdsw for his help.
The problem was in the table sizes and a ****ed TD that wouldn't go away!!

No good at coding, but I can plough a field !!
Go to Top of Page

bobdsw
New Member

United States
62 Posts

Posted - 08 July 2010 :  17:31:55  Show Profile  Visit bobdsw's Homepage
Glad I was able to help.

Phoenix! - Ful site integration, CSS driven & XHTML compliant, MooTools, TinyMCE editor for posts & custom content management, , Visual Theme Designer, custom menus & pages, member galleries with ASP JPeg and ASPResize, ASP WordPress style Blog, web friends, FaceBook, Twitter & other social-sharing integration, ReCaptcha & Anti-Spam Registration...and much more.
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