ok finally here is the solution
it should be:
Quote:
<td class="thead" width="5%"> </td>
<td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" with="50%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
|
This will form cell's width in a right way, so the total code will be:
Quote:
<table style="border-collapse: collapse">
<tr>
<td align="left" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_top_l.gif" border="0" alt="" /></td>
<td class="cat-top"><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']"> - $forum[description]</if>
<if condition="$show['subforums']"><div class="smallfont"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
</td>
<td align="right" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_top_r.gif" alt="" /></td>
</tr>
</table>
<if condition="$childforumbits">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tbody id="collapseobj_forumbit_$forumid" style="{$collapseobj_forumid}">
<tr align="center">
<td class="thead" width="5%"> </td>
<td class="thead" width="50%" align="$stylevar[left]">$vbphrase[forum]</td>
<td class="thead" with="50%">$vbphrase[last_post]</td>
<td class="thead" width="5%">$vbphrase[threads]</td>
<td class="thead" width="5%">$vbphrase[posts]</td>
<if condition="$vboptions['showmoderatorcolumn']">
<td class="thead">$vbphrase[moderator]</td>
</if>
</tr>
$childforumbits
</tbody>
</table>
</if>
<table style="border-collapse: collapse">
<tr>
<td align="left" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_bottom_l.gif" alt="" /></td>
<td style="background-image: url($stylevar[imgdir_misc]/cat_bottom_bg.gif);width: 100%"></td>
<td align="right" style="padding: 0"><img src="$stylevar[imgdir_misc]/cat_bottom_r.gif" alt="" /></td>
</tr>
</table>
<br />
|