MyBB Community Forums

Full Version: div problems
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i have a problem with the buttons on my forum. on firefox the forum looks ok, but when i enter with iexplorer some visual errors appear. i attached 2 images. please look and tell me that settings to make in the admin cp .. thx
Make sure in the forumbit_depth1_cat and forumbit_depth2_forum templates that the width of the cells are specified.
forumbit_depth1_cat:

<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}" /></div>
<div><strong><a href="forumdisplay.php?fid={$forum['fid']}">{$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" width="35">&nbsp;</td>
<td class="tcat"><strong>{$lang->forumbit_forum}</strong></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_threads}</strong></td>
<td class="tcat" width="85" align="center" style="white-space: nowrap"><strong>{$lang->forumbit_posts}</strong></td>
<td class="tcat" width="200" align="center"><strong>{$lang->forumbit_lastpost}</strong></td>
</tr>
{$sub_forums}
</tbody>
</table>



forumbit_depth2_forum:

<tr>
<td class="{$bgcolor}" align="center" valign="top"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" /></td>
<td class="{$bgcolor}" valign="top">
<strong><a href="forumdisplay.php?fid={$forum['fid']}">{$forum['name']}</a></strong><div class="smalltext">{$forum['description']}{$modlist}{$subforums}</div>
</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="{$bgcolor}" valign="top" align="center" style="white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="{$bgcolor}" valign="top" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>


it`s this ok ? what is the problem ?
can anybody help me ?
Well, it looks IE-ish in that screenshot. It does that to every theme I've ever done, too.
so, there is nothing i can do ... so the users can view the forum ok ?
every problem has a solution
see this <td class="tcat" width="35">

your on.gif image is wider than 35px

change "35" to the width of your on.gif image
kpac Wrote:so, there is nothing i can do ... so the users can view the forum ok ?
Problem solved ... Bas .. thx a lot