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

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

Zmniejszenie szerokości komórki

Inne  Założony przez  dominiv2604.

wersja skryptu MyBB:1.6.9
adres forum:www.OneDream.pl
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):[Obrazek: forumpomoc.png]

<body>
<table class="serwery" cellpadding="3" cellspacing="1"
width="100%">
&nbsp;&nbsp;<tbody>
    <tr>
&nbsp;&nbsp;<td class="thead" colspan="6"
style="text-align: center;">&nbsp;&nbsp;
      <div class="theadleft"></div>
&nbsp;&nbsp;
      <div class="theadright"></div>
&nbsp;&nbsp;
      <center>
      <div class="theadmain">
      <div><strong>Serwery</strong><br>
      </div>
      </div>
      </center>
&nbsp;&nbsp;</td>
&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
&nbsp;&nbsp;<td class="tcat"
style="text-align: center;" width="200"><span
class="smalltext"><strong>Status Serwera</strong></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="tcat" style="text-align: center;"
width="135"><span class="smalltext"><strong>Rodzaj
serwera</strong></span></td>
&nbsp;&nbsp;<td class="tcat"
style="text-align: center;" width="140"><span
class="smalltext"><strong>IP</strong></span></td>
&nbsp;&nbsp;<td class="tcat"
style="text-align: center;" width="45"><span
class="smalltext"><strong>Wersja</strong></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.82.99:27809/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.82.99:27809/b_350_20_5E2877_59256F_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[COD 301]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.82.99:27809</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </tr>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.83.241:27266/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.83.241:27266/b_350_20_E28608_E39831_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[Paintball]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.83.241:27266</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.82.99:27720/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.82.99:27720/b_350_20_E28608_E39831_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[Only DD2+BF2]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.82.99:27720</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;
  </tbody>
</table>
Matslom napisał 10.04.2013, 17:05:
Zamiast krzyczeć pomocy w tytule, byś porządnie nazwał swój wątek. [Obrazek: modnotice_howto.png]
osobiście nie rozumiem o co Ci chodzi.
Chodzi o to żeby zmiejszyć to pomarańczowe pole do rozmiaru zaznaczonego czarną obwódką oraz zamienić kolejność kolumn.
Spróbuj tak :
<body>
<table class="serwery" cellpadding="3" cellspacing="1"
width="100%" height="30px">
&nbsp;&nbsp;<tbody>
    <tr>
&nbsp;&nbsp;<td class="thead" colspan="6"
style="text-align: center;">&nbsp;&nbsp;
      <div class="theadleft"></div>
&nbsp;&nbsp;
      <div class="theadright"></div>
&nbsp;&nbsp;
      <center>
      <div class="theadmain">
      <div><strong>Serwery</strong><br>
      </div>
      </div>
      </center>
&nbsp;&nbsp;</td>
&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
<td class="tcat" style="text-align: center;"
width="135"><span class="smalltext"><strong>Rodzaj
serwera</strong></span></td>
<td class="tcat"
style="text-align: center;" width="140"><span
class="smalltext"><strong>IP</strong></span></td>
&nbsp;&nbsp;<td class="tcat"
style="text-align: center;" width="200"><span
class="smalltext"><strong>Status Serwera</strong></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;<td class="tcat"
style="text-align: center;" width="45"><span
class="smalltext"><strong>Wersja</strong></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.82.99:27809/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.82.99:27809/b_350_20_5E2877_59256F_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[COD 301]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.82.99:27809</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </tr>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.83.241:27266/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.83.241:27266/b_350_20_E28608_E39831_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[Paintball]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.83.241:27266</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.82.99:27720/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.82.99:27720/b_350_20_E28608_E39831_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[Only DD2+BF2]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.82.99:27720</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;
  </tbody>
</table>
Teraz wygląda to jeszcze gorzej, pomarańczowe pole jest jeeeeeeszcze większe.
hmm .. a to ? :
<body>
<table class="serwery" cellpadding="1" cellspacing="1"
width="100%">
&nbsp;&nbsp;<tbody>
    <tr>
&nbsp;&nbsp;<td class="thead" colspan="6"
style="text-align: center;">&nbsp;&nbsp;
      <div class="theadleft"></div>
&nbsp;&nbsp;
      <div class="theadright"></div>
&nbsp;&nbsp;
      <center>
      <div class="theadmain">
      <div><strong>Serwery</strong><br>
      </div>
      </div>
      </center>
&nbsp;&nbsp;</td>
&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
<td class="tcat" style="text-align: center;"
width="135"><span class="smalltext"><strong>Rodzaj
serwera</strong></span></td>
<td class="tcat"
style="text-align: center;" width="140"><span
class="smalltext"><strong>IP</strong></span></td>
&nbsp;&nbsp;<td class="tcat"
style="text-align: center;" width="200"><span
class="smalltext"><strong>Status Serwera</strong></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;
&nbsp;&nbsp;<td class="tcat"
style="text-align: center;" width="45"><span
class="smalltext"><strong>Wersja</strong></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.82.99:27809/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.82.99:27809/b_350_20_5E2877_59256F_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[COD 301]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.82.99:27809</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
    </tr>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.83.241:27266/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.83.241:27266/b_350_20_E28608_E39831_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[Paintball]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.83.241:27266</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<tr>
&nbsp;&nbsp;&nbsp;&nbsp;<td class="trow2"
style="text-align: center;"><span class="smalltext"><a href="http://www.gametracker.com/server_info/31.186.82.99:27720/" target="_blank"><img src="http://cache.www.gametracker.com/server_info/31.186.82.99:27720/b_350_20_E28608_E39831_FFFFFF_000000.png" border="0" width="350" height="20" alt=""/></a></span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      <td class="trow1" style="text-align: center;"><span
class="smalltext">[Only DD2+BF2]</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">31.186.82.99:27720</span></td>
&nbsp;&nbsp;<td class="trow1"
style="text-align: center;"><span class="smalltext">1.6</span></td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tr>
&nbsp;&nbsp;
  </tbody>
</table>
Nie działa, ale sam wpadłem na to jak to zmienić - odpowiada za to "&nbsp;" których jest mnóstwo. Ale i tak masz Rep + za zamienienie nazw kolumn :D



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

2 gości