I'm using the fine
Forums arranged in columns on Forumhome hack, and adding images. I've been futzing around with the templates to get everything to line up right, and I am almost there, but I've run into a roadblock.
Per the attached screenshot - I can line things up just fine with a fixed-width forum, but I cannot get it to line up with a liquid style. This is seriously annoying
. Here's the code from the column template:
PHP Code:
<td colspan="1">
<img src="$stylevar[imgdir_statusicon]/forums/forum_$forum[forumid].gif" alt="forum_$forum[statusicon].gif" title="">
</td>
<td colspan="40">
<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
<div class="smallfont">$forum[description]</div>
<if condition="$show['lastpostinfo']">
<div class="smallfont" align="$stylevar[left]">
<div class="smallfont">
<a href="showthread.php?$session[sessionurl]goto=newpost&t=$lastpostinfo[lastthreadid]" title="<phrase 1="$lastpostinfo[lastthread]">$vbphrase[go_first_unread_in_thread_x]</phrase>"><strong>$lastpostuser[trimthread]</strong></a>
<phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">last post <strong>$vbphrase[by_x]</strong></phrase>
</div>
<div align="$stylevar[right]">
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostinfo[lastposttime]</span></if>
<a href="showthread.php?$session[sessionurl]goto=lastpost&t=$lastpostinfo[lastthreadid]"><img class="inlineimg" src="$stylevar[imgdir_button]/lastpost.gif" alt="$vbphrase[go_to_last_post]" border="0"></a>
</div>
</div>
<else />
$lastpostinfo[lastpostdate] <if condition="!$show['detailedtime']"><span class="time">$lastpostuser[lastpostuser]</span></if>
</if>
<td class="alt2" colspan="15" border="0"><center>$forum[replycount]</center></td>
and here's the relevent bit from forumhome_forumbit_level1_nopost:
PHP Code:
<table class="tborder" cellpadding="6" cellspacing="1" border="0" width="100%" align="center">
<if condition="$childforumbits">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td colspan="2" class="thead" align="left" width="90%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" align="left">$vbphrase[posts] </td>
<td class="thead" width="90%" align="left">$vbphrase[forum]</td>
<td class="thead" align="left">$vbphrase[posts] </td>
</tr>
<if condition="$forum['subforumcolumns'] > 1">
<tr>
<td class="alt1" colspan="<if condition="$vboptions[showmoderatorcolumn]">6<else />5</if>">
<table style="border: none; width: 100%;">
$childforumbits
</table>
</td>
</tr>
<else />
$childforumbits
</if>
</if>
</tbody>
Notice from the screen shot how "Posts" and "Forum" don't line up right on the left - they don't "stick" to the top of their respective columns.
Can anyone lend a hand here? It's seriously driving me nuts.
Thanks!