View Full Version : Category spacing
I've been installing my friends new vbulletin script for him and I just modified my categories to space from each other, they space, but at the top of the first category thers a line, im guessing its from the table I added to space them?
check it out an tell me what you thnik...
www.spotlessent.roffle.com/forums
foularou
09-03-2002, 06:11 AM
I've got the same problem on my forum i don't help you for the momment but if i find i tell you
Tony G
09-03-2002, 07:19 AM
check all your forumhome templates for the code for that line, mostly likely forumhome_level1 or something like that. :p
Austin Dea
09-03-2002, 09:57 PM
Set widths in your 'forumhome_forumbit_level1_nopost' template for the cells that say Forum, Posts, Threads, Last Post, and Moderator =P.
Originally posted by Austin
Set widths in your 'forumhome_forumbit_level1_nopost' template for the cells that say Forum, Posts, Threads, Last Post, and Moderator =P.
I'm sorry, but I don't quite understand what your saying. Are my table's width not set right? I have them at "100%".
Austin Dea
09-04-2002, 03:06 AM
No, I mean for the cells that have the Forum, Posts, Threads, Last Post, and Moderators. Set widths for each one of them ;)
It should look like this in your 'forumhome_forumbit_level1_nopost' (without the space in { tableheadbgcolor} and { tableheadtextcolor}):<tr align="center">
<td bgcolor="{ tableheadbgcolor}"><smallfont> </smallfont></td>
<td bgcolor="{ tableheadbgcolor}" width="80%" align="left"><smallfont color="#000000"><b>Forum</b></smallfont></td>
<td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Posts</b></smallfont></td>
<td bgcolor="{ tableheadbgcolor}"><smallfont color="{ tableheadtextcolor}"><b>Threads</b></smallfont></td>
<td bgcolor="{ tableheadbgcolor}" nowrap><smallfont color="{ tableheadtextcolor}"><b>Last Post</b></smallfont></td>
<td bgcolor="{ tableheadbgcolor}" width="20%"><smallfont color="{ tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>
Just set widths for each < td> (Or maybe just for the cell with the last post info, since that's the one causing the misalignment =P).
edit: Replace tha block with this and see if it works.<tr align="center">
<td bgcolor="{tableheadbgcolor}"><smallfont> </smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="60%" align="left"><smallfont color="{tableheadtextcolor}"><b>Forum</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Posts</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}"><smallfont color="{tableheadtextcolor}"><b>Threads</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="20%" nowrap><smallfont color="{tableheadtextcolor}"><b>Last Post</b></smallfont></td>
<td bgcolor="{tableheadbgcolor}" width="20%"><smallfont color="{tableheadtextcolor}"><b>Moderator</b></smallfont></td>
</tr>
foularou
09-04-2002, 06:58 AM
i found where is the problem. :D
In your forumhome template found
<!-- main -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
$forumbits
and replace
cellspacing="{tableinnerborderwidth}"
by
cellspacing="0"
After this modification for my forum it's allright. I think you too.
Tony G
09-04-2002, 08:00 AM
Did it work for you? I'll try this too if needed. :)
foularou
09-04-2002, 11:45 AM
Originally posted by Tony
Did it work for you?
Yes it work
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.