oddzielenie belki thead od kategori

Założony przez  FanaticRPS.

wersja skryptu MyBB: 1.6.9
adres forum: www.nawlasnyuzytek.cba.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):

Witam, mam pytanie : jak oddzielić belkę thead od kategorii, najlepiej wyjaśnia to screen:
[Obrazek: 01182173691146621100.jpg]

Aby w miejscu czerwonej kreski był odstęp.
Pokaż forumbit_depth1_cat
Zamień ten kod co masz w forumbit_depth1_cat i wgraj ten:
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" width="100%">
<thead>
<tr>
<td class="thead" colspan="5">
<div class="expcolimage" title="{$expaltext}"><img src="{$theme['imgdir']}/{$expcolimage}" class="expander" id="cat_{$forum['fid']}_img" alt="{$expaltext}" /></div>
<div>{$forum['name']}<br /><div class="smalltext">{$forum['description']}</div></div>
</td>
</tr>
</thead>
</table>
<div class="odstep" width="100%">
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" style="width: 100%">
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
</div><br /></table>

A ten kod do CSS w twoim arkuszu stylu:
.odstep {
background:#4E4E4E; <--- tlo odstepu
padding:0px 4px; <--- wielkosc odstepu
margin-top:6px; <--- odstep od thead'u
}
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


@up nie robi odstępu i przenosi sideboxa w dodatku usuneło mi dział ! jak je przywrócić? kod wkleiłem ten co miałem, a działów nie mam !


forumbit_depth1_cat
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="4">
<div><strong>{$forum['name']}</strong></div>
</td>
</tr>
</thead>
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<br />
Zapomnij o tamtym, co mówiłem.
To dodaj do thead'u ten kod:
margin-bottom: 10px;
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


powiedz mi jak przywrócić działy? bo mi się nie wyświetlają, w acp je widać ale w indexie już nie

@ margin-bottom nic nie daje.
Podmień twoje forumbit_depth1_cat na:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="4">
<div><strong>{$forum['name']}</strong></div>
</td>
</tr>
</thead>
<br />
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<br />
@ działy przywróciłem, ale dale problem z tym odstępem

@br'ka nic nie daje, to powinno chyba być jakby 2 oddzielne tabelki
To może:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="4">
<div><strong>{$forum['name']}</strong></div>
</td>
</tr>
</thead>
<div class="odstep" width="100%" style="background:#4E4E4E;padding:0px 4px;margin-top:6px;">
<table cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" border="0" style="width: 100%;">
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
</div>
<br />
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


Zrobiłem ten odstęp ale wtedy sideboxy mi przenosi na dół forum, jak je dać na bok, bez usuwania tego odstępu
Ja nie widzę żadnych sideboxów.
Cytat:It's all about the details.
---------------
PW tylko forum, nie mejl.


FanaticRPS próbowałeś ten mój kod? jeśli tak i nie działał zobacz to:
Podmień swoje forumbit_depth1_cat na:
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<thead>
<tr>
<td class="thead" colspan="4">
<div><strong>{$forum['name']}</strong></div>
</td>
</tr>
</thead>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody style="{$expdisplay}" id="cat_{$forum['fid']}_e">
{$sub_forums}
</tbody>
</table>
<br />
@SaiL o dzięki o to mi właśnie chodziło ;) Tylko usunąłem brke z środka bo za duże było ;)



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

1 gości