I'm trying to put the event calendar above my board statistics. Here is where I place the include file (in red):
if (strShowModerators = "1") or (mlev = 4 or mlev = 3) then Response.Write " <td bgcolor=""" & strForumCellColor & """ align=""left"" valign=""top""><font face=""" & strDefaultFontFace & """ color=""" & strForumFontColor & """ size=""" & strFooterFontSize & """><span class=""spnMessageText"">" & listForumModerators(ForumID) & "</span></font></td>" & vbNewline end if Response.Write " <td bgcolor=""" & strForumCellColor & """ align=""center"" valign=""top"" nowrap>" if ModerateAllowed = "Y" or (lcase(strNoCookies) = "1") then call ForumAdminOptions else call ForumMemberOptions end if Response.Write "</td>" & vbNewline Response.Write " </tr>" & vbNewline end if ' ##### Added as part of Minimize Category Mod ##### else blnHiddenForums = true end if ' ChkDisplayForum() end if next '## Next Forum end if next '## Next Category end if %><!--#INCLUDE FILE="cal_default.asp"--><% %><!--#include file="inc_activeusers.asp"--><% if strPMStatus = "1" then %> <!--#INCLUDE FILE="privatemess.asp"--> <% end if
As you can see, there is a thick black above the calendar and a really thick black line below the calendar. What I am trying to acheive is to have the calendar in a separate box by itself under the forum and above the statistics.
the td that the calendar is contained within has a bg color of #000000. This is the issue I believe I think you need to find the td that the calendar table is located in and all should work. If you need help post a .txt version of your default.asp and also you cal_default.asp Not sure which one has the color attribute on it.
I think I need to get it out of that cell or row if possible. It needs to be it's own thing like the Board Statistics are. I can't figure out how to do that. How are the board statistics able to be separate from the forum section? I can't even find where that is in the code.
I have mine a bit lower down, below the stats, the line above WriteFooter. Try that to see if it displays correctly.
I did try that earlier as I was playing around with where I wanted it. I personally think it is too far at the bottom of the page when it is just above write.footer. I'd like it to be just below the forum itself but above the statistics.
Just been trying a few things out and noticed that I haven't a space between the Board Statistics and the calendar section. Is this something that might be causing the problem, you need a space between the forum and the calendar? (Can't figure it out how to put a space into there)
eermm its not inc_footer as if u look at the source code (ie right click > view source) you can see where there is a tag not closed...there is a td/tr tags not closing the added bit.
or maybe not...lookign closer...wow you code is all over the place...you have tags opening but not closing and u have tages that open/close in the wrong places.
anyway, with a little tinkering simple delete the last </table> tag in cal_default.asp.
Thanks MaD2ko0l, that fixed it. I wonder why I have code "all over the place"? I've only added mods and have never myself messed with the tags other than what the mods have called for.