MyBB Community Forums

Full Version: Slight Problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I was doing a small change, and I'm not sure why it won't work.

Here's my forumbit_depth1_cat code (part I added is near bottom):

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage"><img src="{$theme['imgdir']}/{$expcolimage}" id="cat_{$forum['fid']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div>
<div><strong><a href="{$forum_url}">{$forum['name']}</a></strong><br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
<tr>
<td class="tfooter" colspan="5"></td>
</tr>
</table>
<br />

Then here's my CSS for that part:

.tfooter {
	background: #000000 url(images/tfooter.png) top left repeat-x;
	height: 3px;
}


I want that small 3px tall image (1px wide), to go all the way across the bottom (which it does), but why is there a small black gap under it?

Removing the "height: 3px;" from CSS doesn't change anything at all.

Any help would be appreciated, thanks!

Screenshot: http://img826.imageshack.us/i/hellooo.jpg/
You need something written there, try &nbsp;
And remove the height.
That just makes it bigger because &nbsp; is 16 pixels height.
Where did you put it? Do you have a live board where I can check it out?
What's your forum URL?
http://www.primady.com

Is it maybe a padding issue with the tables? Since it's in a table, it may have the padding from the table. I'll try adding padding="0px" and see what happens.
Did you fix it? I don't see any problems now.
Correct. Smile Thanks a lot.