2008-05-23, 02:50 AM
computergeek67 Wrote:Well, the code that you gave just adds another table at the top of the forum. I don't think I can play around with that because the "{$forums}" variable dictates all the forum tables. The best luck I got was with this code:
<table border="0" cellpadding="0" cellspacing="0" align="center" width="100%"> <tr> <tbody> <tr> <td align="left"><img src="{$theme['imgdir']}/cat_l.gif" alt="" border="0"></td> <td style="background: url({$theme['imgdir']}/cat_tbg.gif) repeat-x" align="center" width="100%"><div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" /></div> <span class="thead"><div style="text-align: left;"><strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></strong></div></span> </td> <td align="right"><img src="{$theme['imgdir']}/cat_r.gif" alt="" border="0"></td> </tr> </tbody> </table> <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> </thead> <tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e"> {$sub_forums} </tbody> </table> <table border="0" cellpadding="0" cellspacing="0" align="center" width="100%"> <tr> <tbody> <tr> <td align="left"><img src="{$theme['imgdir']}/cat_lb.gif" alt="" border="0"></td> <td style="background: url({$theme['imgdir']}/cat_tbgb.gif) repeat-x" align="center" width="100%"> </td> <td align="right"><img src="{$theme['imgdir']}/cat_rb.gif" alt="" border="0"></td> </tr> </tbody> </table> <br />
Which gave me this result:
http://img361.imageshack.us/my.php?image...66bdu5.png
Not bad. Thats a bit closer.