Webboard

Pełna wersja: Dodatkowa kolumna w tabelce 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: Niepotrzebny
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu): Chciałbym dodać jeszcze jedną kolumnę do tabeli serwerów.
Zdjęcie jak ona wygląda:
[Obrazek: AF5Avhv.jpg]

A o to 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"> TeamSpeak 3</span></td>          </tr>      </tbody></table>


Jak ktoś zna HTML to myślę że w sekundę to ogarnie :)
Spróbuj to:
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="20" class="tcat" style="text-align:center;"><span class="smalltext"><strong>LP</strong></span></td>  
<td width="280" 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="trow1" style="text-align:center;"><span class="smalltext">1</span></td>
<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="trow1" style="text-align:center;"><span class="smalltext">2</span></td>
<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="trow1" style="text-align:center;"><span class="smalltext">3</span></td>  
<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="trow1" style="text-align:center;"><span class="smalltext">4</span></td>  
<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"> TeamSpeak 3</span></td>          
</tr>
</tbody>
</table>

Jeszcze specjalnie pooddzielałem komórki bo w tamtym bajzelu się nie szło połapać ;)
Super :) A to mi chodziło. Teraz chociaż jak mam to na czysto zrobione idzie się połapać jak się robi kolumny ;) Dzięki i pozdro.