MyBB Community Forums

Full Version: phpBB3 Forum Header
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
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.
*bump*
Adding a bump to this myself too. It's an old topic but can be very useful. Smile
Pages: 1 2