MyBB Community Forums

Full Version: Problem about stats and online icons
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I made icons for stats and online users. But it became very large how can make these tables narrow? Changing proportions of widths changes nothing. I've tried it.

[Image: O3rkyD.jpg]

index_whoisonline:
<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow2" width="10%"><img src="{$theme['imgdir']}/whoisonline.png"></span></td>
<td class="trow1" width="90%"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>

index_stats:
<tr><td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>
<tr>
<td class="trow2" colspan="1" width="10%"><img src="{$theme['imgdir']}/stats.png"></td>
<td class="trow1" colspan="1" width="93%"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>
posting your forum url would be of more help for these issues...
change the templates as below and check....


index_whoisonline:

<tr>
<td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->whos_online}</strong> [<a href="online.php">{$lang->complete_list}</a>]</span></td>
</tr>
<tr>
<td class="trow2" width="5%"><img src="{$theme['imgdir']}/whoisonline.png" style="width: 32px;"></span></td>
<td class="trow1" width="95%"><span class="smalltext">{$lang->online_note}<br />{$onlinemembers}</span></td>
</tr>


index_stats:

<tr><td class="tcat" colspan="2"><span class="smalltext"><strong>{$lang->boardstats}</strong></span></td></tr>
<tr>
<td class="trow2" colspan="1" width="5%"><img src="{$theme['imgdir']}/stats.png" style="width: 32px;"></td>
<td class="trow1" colspan="1" width="95%"><span class="smalltext">
{$lang->stats_posts_threads}<br />
{$lang->stats_numusers}<br />
{$lang->stats_newestuser}<br />
{$lang->stats_mostonline}
</span>
</td>
</tr>
Thank you. Solved. I figured that I had to change both at the same time