View Full Version : Last Post/Threads/Post Columns Misaligned
pjkcards
06-27-2008, 03:52 PM
Hello,
On this (http://www.speedsolving.com/forumdisplay.php?f=9) page, notice how the "Official WCA Competitions" subforum has the Last Post/Threads/Post Columns misaligned. Is there is quick fix for this? The support forum for the skin is no longer open, so I was wondering if it was something I could try fixing myself. How would I go about resolving the problem?
Thanks in advance.
ry215
06-27-2008, 06:31 PM
<a href="https://vborg.vbsupport.ru/showthread.php?t=180937" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=180937</a>
pjkcards
06-27-2008, 11:58 PM
Hello,
That didn't work. Here is my forumhome template at the part he said to correct:
<tr align="center">
<td class="thead" width="30"> </td>
<td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[forum]</td>
<td class="thead" width="<if condition="is_numeric($stylevar[outertablewidth])">200<else />250</if>" nowrap="nowrap">$vbphrase[last_post]</td>
<td class="thead" width="60" nowrap="nowrap">$vbphrase[threads]</td>
<td class="thead" width="50" nowrap="nowrap">$vbphrase[posts]</td>
</tr>
And here is my forumhome_forumbit_level1_nopost template:
</table>
<if condition="$show['subforums']">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-bottom: 10px;">
<thead>
<tr>
<td class="tcat" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
<if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
</tr>
</thead>
<else />
<ca-hdr>
<td class="tcat" width="100%">
<a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumbit_$forumid')"><img id="collapseimg_forumbit_$forumid" src="$stylevar[imgdir_button]/collapse_tcat{$collapseimg_forumid}.gif" alt="" border="0" /></a>
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]">$forum[title]</a>
</td>
</ca-hdr>
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center" style="margin-bottom: 10px; border-top-width: 0;">
</if>
<tbody>
<tr align="center">
<td class="thead" width="30"> </td>
<td class="thead" align="$stylevar[left]" nowrap="nowrap">$vbphrase[forum]</td>
<td class="thead" width="<if condition="is_numeric($stylevar[outertablewidth])">200<else />250</if>" nowrap="nowrap">$vbphrase[last_post]</td>
<td class="thead" width="60" nowrap="nowrap">$vbphrase[threads]</td>
<td class="thead" width="50" nowrap="nowrap">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead" width="0%">$vbphrase[moderator]</td>
</if>
</tr>
</tbody>
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
$childforumbits
</tbody>
</if>
Any ideas as to why it didnt work? Thanks
Dismounted
06-28-2008, 05:06 AM
Tables will always stretch to display all the data inside them. You need to set a width that will be more than the width of any data.
ry215
06-28-2008, 02:04 PM
this is work for me:
http://www.giaitriviet.de/forum/
pjkcards
06-28-2008, 10:19 PM
Tables will always stretch to display all the data inside them. You need to set a width that will be more than the width of any data.
So what width should I use? Can you please post the code? Thanks
Dismounted
06-29-2008, 01:13 PM
I don't know what width you should use. You need to find a width that will be longer than the truncate point.
pjkcards
06-30-2008, 01:22 AM
1) Am I editing this part of the forumhome_forumbit_level1_nopost template:?
<td class="thead" width="0%">$vbphrase[moderator]</td>
I tried 30% and 50% in there, and neither seemed to do anything. 2) What is that [moderator] td supposed to do?
3) How do I find a width that will be longer than the truncate point? 4) What is the truncate point?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.