Webboard

Pełna wersja: Jak zmienić tą belkę na mniejszą? Tabela Serwerów.
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 1.6.10
adres forum: ls-swiat.xaa.pl
na czym polega problem (screen, opis, komunikaty): witam, mam problem, znalazłem ciekawą tabelkę serwerów, ale jest w niej mały błąd, na moim forum wygląda tak: [Obrazek: 2wd3g9g.png] dokładnie, chodzi mi o tą belkę (niebieską), chcę żeby była ona ładna, między innymi w tym stylu: [Obrazek: 8znswi.png] z góry dzięki za pomoc. Niżej zamieszczam kod tabelki:

Kod:
<table class="serwery" width="100%" cellspacing="1" cellpadding="4">  <tbody><tr>  <td class="thead" colspan="6" style="text-align:center;">  <div class="theadleft"></div>  <div class="theadright"></div>  <center><div class="theadmain"><div><strong>Serwery</strong><br></div></div></center>  </td>  </tr>  <tr>  <td width="300" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td>         <td width="135" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td>  <td width="140" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td>  <td width="45" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td>        </tr>  <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-34054-350x20-303b39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>           </tr>                      <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-30505-350x20-303B39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>  <tr>      <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-37102-350x20-303B39-092822-372619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>      <tr>  <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td>          </tr>      </tbody></table>
Kod:
<table class="serwery" width="100%" cellspacing="1" cellpadding="4">  <tbody><tr>  <td class="thead" colspan="6" style="text-align:center;"> <strong>Serwery</strong></td>  </tr>  <tr>  <td width="300" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td>         <td width="135" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td>  <td width="140" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td>  <td width="45" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td>        </tr>  <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-34054-350x20-303b39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>           </tr>                      <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-30505-350x20-303B39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>  <tr>      <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-37102-350x20-303B39-092822-372619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>      <tr>  <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td>          </tr>      </tbody></table>
(23.08.2013, 16:25)SLAVOO napisał(a): [ -> ]
Kod:
<table class="serwery" width="100%" cellspacing="1" cellpadding="4">  <tbody><tr>  <td class="thead" colspan="6" style="text-align:center;"> <strong>Serwery</strong></td>  </tr>  <tr>  <td width="300" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td>         <td width="135" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td>  <td width="140" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td>  <td width="45" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td>        </tr>  <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-34054-350x20-303b39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>           </tr>                      <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-30505-350x20-303B39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>  <tr>      <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-37102-350x20-303B39-092822-372619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>      <tr>  <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td>          </tr>      </tbody></table>

dziękuję, pomogło, ale czy dało by rade dodać mały odstęp między belką z napisem serwery, a belką z napisami status serwera itd...? Repka.
Spróbuj:
Kod:
<table class="serwery" width="100%" cellspacing="1" cellpadding="4">  
<tbody>
<tr>
<td class="thead" colspan="6" style="text-align:center;"> <strong>Serwery</strong></td>  
</tr>
<tr> <td colspan="6" style="height:5px;"></td></tr>
<tr>  
<td width="300" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Status Serwera</strong></span></td>
<td width="135" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Rodzaj serwera</strong></span></td>  <td width="140" class="tcat" style="text-align:center;"><span class="smalltext"><strong>IP</strong></span></td>  <td width="45" class="tcat" style="text-align:center;"><span class="smalltext"><strong>Wersja</strong></span></td>        </tr>  <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-34054-350x20-303b39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Role-Play</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25566</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>           </tr>                      <tr>    <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-30505-350x20-303B39-092822-372619-FFFFFF.png"></span></td>         <td class="trow1" style="text-align:center;"><span class="smalltext">Survival</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25567</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>  <tr>      <td class="trow2" style="text-align:center;"><span class="smalltext"><img src="http://cache.multiplayuk.com/b/1-37102-350x20-303B39-092822-372619-FFFFFF.png"></span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">Free Build</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl:25568</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">1.8</span></td>          </tr>      <tr>  <td class="trow2" style="text-align:center;"><span class="smalltext">Serwery - Minecraft # TeamSpeak 3</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TeamSpeak 3</span></td> <td class="trow1" style="text-align:center;"><span class="smalltext">serwery-minecraft.pl</span></td>  <td class="trow1" style="text-align:center;"><span class="smalltext">TS 3</span></td>          </tr>      </tbody></table>
Za
Kod:
.... <strong>Status Serwera</strong></span></td>
dodaj
Kod:
<br />
Dzięki, już wszystko jest ok. Matslom, o to chodziło, dzięki wam. Repki i Pomógł poszły. ;>
Poczytaj trochę o HTML i CSS to takie proste rzeczy sam będziesz mógł zrobić.