Szerokość tabelek posty/wątki itp

Założony przez  Amciek.

Kilka szczegółów o moim forum i stylu, z którym mam problem:
nazwa stylu:blogreen
wersja skryptu MyBB:1,6
adres forum:onlytrucks.pl
opis problemu:

Chciał bym aby kolumny od liczby postów nazw działów nie rozjeżdżały się i były o stałej szerokości

   
Wejdź w:
ACP--> Style i szablony --> Szablony --> Twój styl --> opis działy szablony --> forumbit_depth1_cat
I tam masz np.:
<td width="200" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td
Tam gdzie:
<td width="200" 
Daj sobie swoją wartość w procentach np.:
<td width="10%" 
Z tamtym jest już ok ale jeszcze z drugiej strony nawet przy oryginalnych ustawieniach jest taka bida :L

   
Pokaż kodzik szablonu
forumbit_depth1_cat
xD
<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="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<td class="tcat" width="7%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</tr>
{$sub_forums}
</tbody>
</table>
<br />
<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" widht="65%" colspan="2"><span class="smalltext"><strong>{$lang->forumbit_forum}</strong></span></td>
<
td class="tcat" width="7.5%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_threads}</strong></span></td>
<
td class="tcat" width="7.5%" align="center" style="white-space: nowrap"><span class="smalltext"><strong>{$lang->forumbit_posts}</strong></span></td>
<
td class="tcat" width="20%" align="center"><span class="smalltext"><strong>{$lang->forumbit_lastpost}</strong></span></td>
</
tr>
{
$sub_forums}
</
tbody>
</
table>
<
br /> 

Podrzuć jeszcze szablon:
forumbit_depth2_forum
<tr>
<td class="trow4" align="center" valign="middle" width="1"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}" title="{$lightbulb['altonoff']}" class="ajax_mark_read" id="mark_read_{$forum['fid']}" /></td>
<td class="trow4" valign="middle">
<strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$forum['modlist']}{$subforums}</div>
</td>
<td class="trow4" valign="middle" align="center" style="font-size: 14px; white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<td class="trow4" valign="middle" align="center" style="font-size: 14px; white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<td class="trow4" valign="middle" align="right" style="white-space: nowrap">{$lastpost}</td>
</tr>
<tr>
<
td class="trow4" align="center" valign="middle" width="5%"><img src="{$theme['imgdir']}/{$lightbulb['folder']}.gif" alt="{$lightbulb['altonoff']}title="{$lightbulb['altonoff']}class="ajax_mark_read" id="mark_read_{$forum['fid']}/></td>
<
td class="trow4" width="60%" valign="middle">
<
strong><a href="{$forum_url}">{$forum['name']}</a></strong>{$forum_viewers_text}<div class="smalltext">{$forum['description']}{$forum['modlist']}{$subforums}</div>
</
td>
<
td class="trow4" width="7.5%" valign="middle" align="center" style="font-size: 14px; white-space: nowrap">{$threads}{$unapproved['unapproved_threads']}</td>
<
td class="trow4" width="7.5%" valign="middle" align="center" style="font-size: 14px; white-space: nowrap">{$posts}{$unapproved['unapproved_posts']}</td>
<
td class="trow4" width="20%" valign="middle" align="right" style="white-space: nowrap">{$lastpost}</td>
</
tr
Powinno śmigać, jeżeli nie pisz na pw xD



Użytkownicy przeglądający ten wątek:

1 gości