wersja skryptu MyBB:1.8
adres forum:forum.csgoleague.eu
na czym polega problem (screen, opis, komunikaty):
Dlaczego pomiędzy tą tabelą a górną częścią jest taki odstęp?
Da się to wyeliminować?
Link do tematu? Użyłeś HTML w poście? Jeżeli tak to pewnie gdzieś masz błąd w kodzie.
Kod:
http://forum.csgoleague.eu/showthread.php?tid=4
Tak, użyłem HTML w poście.
Pousuwaj te
<br> z kodu albo zobacz czy są one w szablonie
postbit.
Ani w kodzie tabeli, ani w posbit..
W takim razie podaj tutaj te kody.
Posbit:
Kod:
{$ignore_bit}
<a name="pid{$post['pid']}" id="pid{$post['pid']}"></a>
<div class="post {$unapproved_shade}" style="{$post_visibility}" id="post_{$post['pid']}">
<div class="post_author">
{$post['useravatar']}
<div class="author_information">
<strong> {$post['onlinestatus']}<span class="largetext">{$post['profilelink']}</span></strong><br />
<span class="smalltext">
{$post['usertitle']}<br />
{$post['userstars']}
{$post['groupimage']}
</span>
</div>
<div class="author_statistics">
{$post['user_details']}
</div>
</div>
<div class="post_content">
<div class="post_head">
{$post['posturl']}
{$post['icon']}
<span class="post_date">{$post['postdate']}
{$post['subject_extra']}
</div>
<div class="post_body scaleimages" id="pid_{$post['pid']}">
{$post['message']}
</div>
{$post['attachments']}
{$post['signature']}
<div class="post_meta" id="post_meta_{$post['pid']}">
<span class="post_edit" id="edited_by_{$post['pid']}">{$post['editedmsg']}</span></span>
{$post['iplogged']}
</div>
</div>
<div class="post_controls">
<div class="postbit_buttons author_buttons float_left">
{$post['button_email']}{$post['button_pm']}{$post['button_www']}{$post['button_find']}{$post['button_rep']}
</div>
<div class="postbit_buttons post_management_buttons float_right">
{$post['button_edit']}{$post['button_quickdelete']}{$post['button_quickrestore']}{$post['button_quote']}{$post['button_multiquote']}{$post['button_report']}{$post['button_warn']}{$post['button_purgespammer']}{$post['button_reply_pm']}{$post['button_replyall_pm']}{$post['button_forward_pm']}{$post['button_delete_pm']}
</div>
</div>
</div>
HTML Tabela:
Kod:
<table class="serwery" width="100%" cellspacing="1" cellpadding="4">
<div class="theadleft"></div> <div class="theadright"></div> <center><div class="theadmain"><div>
<tr>
<td width="1" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Nazwa drużyny:</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>M</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Z</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>R</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>P</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>RZ</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>RS</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>RR</strong></span></td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>PKT</strong></span></td>
<tr>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span></td>
</tr>
</tbody></table>
Miałeś błędy w tabeli, zobacz teraz:
Kod:
<table class="serwery" width="100%" cellspacing="1" cellpadding="4">
<tbody>
<tr>
<td width="1" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Nazwa drużyny:</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>M</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Z</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>R</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>P</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>RZ</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>RS</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>RR</strong></span>
</td>
<td width="30" class="tcat" style="text-align:center;"><span class="smalltext"><strong>PKT</strong></span>
</td>
</tr>
<tr>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
<td class="trow2" style="text-align:center;"><span class="smalltext">NASDASDasd</span>
</td>
</tr>
</tbody>
</table>
Teraz wygląda to jeszcze gorzej niż wyglądało
Podgląd:
Kod:
http://forum.csgoleague.eu/showthread.php?tid=4&pid=4#pid4
Spróbuj kod podany od wkleić inną przeglądarką / najpierw do notepad++, potem w odpowiednie miejsce.
wkleilem z notepad++ to wygląda już trochę lepiej ten odstęp, jednak teraz literki w tabeli poszły do góry >.<
Bo nadal masz
w kodzie:
Wklej poprawnie mój kod pierw do Notepad++ a potem dopiero do tematu.
Zrobiłem tak jak kazałeś.
Tylko teraz te literki są wyżej niż powinny być.
Gdzie są te  ?..
W postbit nie ma, w kodzie tabeli nie ma..