Dołącz do zespołu ekspertów! Backend lub Frontend Developer?

Sprawdź najnowsze oferty pracy naszego partnera - 8lines.io!

Jak zmienić tą belkę na mniejszą? Tabela Serwerów.

Założony przez  mrseto.

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:

<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>
SLAVOO napisał 23.08.2013, 16:19:
[Obrazek: modnotice_howto.png]

Takie rzeczy piszemy w dziale z Szablonami a nie Skrypt.
<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>
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI
(23.08.2013, 16:25)SLAVOO napisał(a):
<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:
<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
.... <strong>Status Serwera</strong></span></td>
dodaj
<br />
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI
Dzięki, już wszystko jest ok. Matslom, o to chodziło, dzięki wam. Repki i Pomógł poszły. ;>
SLAVOO napisał 23.08.2013, 16:37:
[Obrazek: modnotice_thx.png]

Nie pisz zbędnych postów
Poczytaj trochę o HTML i CSS to takie proste rzeczy sam będziesz mógł zrobić.
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI



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

3 gości