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

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

Naprawa CSS statystyk strony i legendy

Założony przez  Darni.

wersja skryptu MyBB: Najnowsza
adres forum:http://cs-portico.pl/
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
Styl: Deflection
Witam,
otóż jak widać po wejściu na moją strone statystyki wraz z legendą przesunęły się w prawo i dodały pasek na dole do przwijania strony w lewo/prawo.
Chciałbym je wyśrodkować ale bez używania "center", tak aby ten pasek przwijania zniknął.

Mój index_boardstats

{$forumstats}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="width: 86%; border-left: 1px solid #393939; border-right: 1px solid #393939;">
    <tr>
        <td align="left" class="tcat">
            <b>{$lang->online_note}</b>
        </td>
        <td align="right" class="tcat">
                        <a href="showteam.php">Ekipa forum</a>&nbsp;&nbsp;&nbsp;
            <a href="stats.php">Statystyki</a> &nbsp;&nbsp;&nbsp;
        </td>
    </tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="width: 86%; border-left: 1px solid #393939; border-right: 1px solid #393939; border-bottom: 1px solid #393939;">
    <tr>
        <td style="background: #1a1a1a; padding: 6px;">
            {$onlinemembers}<br>
            {$birthdays}
<br>
<tr><td class="tcat">Legenda</td></tr>
<tr><td class="trow1"><div style="text-align: center;">

[<a href="memberlist.php?usergroup=4"><font color="FF3300"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF3300;"<strong>Administrator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=9"><font color="0066CC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #0066CC;"<strong>Junior Administrator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=6"><font color="FF6600"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF6600;"<strong>Moderator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=11"><font color="99FF66"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #99FF66;"<strong>Admin COD</strong></span></font></a>]

[<a href="memberlist.php?usergroup=21"><font color="00CC00"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #00CC00;"<strong>Admin DD2/</strong></span></font></a>]

[<a href="memberlist.php?usergroup=15"><font color="9933FF"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #9933FF;"<strong>Blacklist</strong></span></font></a>]

[<a href="memberlist.php?usergroup=22"><font color="191970"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #191970;"<strong>Technik</strong></span></font></a>]

[<a href="memberlist.php?usergroup=19"><font color="99FFCC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #99FFCC;"<strong>Grafik</strong></span></font></a>]    

[<a href="memberlist.php?usergroup=18"><font color="00CCCC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #00CCCC;"<strong>Reklamer</strong></span></font></a>]

[<a href="memberlist.php?usergroup=14"><font color="9999FF"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #9999FF;"<strong>Sponsor</strong></span></font></a>]

[<a href="memberlist.php?usergroup=13"><font color="FFFF66"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FFFF66;"<strong>VIP</strong></span></font></a>]

[<a href="memberlist.php?usergroup=16"><font color="FFCC99"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FFCC99;"<strong>Stały Bywalec</strong></span></font></a>]

[<a href="memberlist.php?usergroup=20"><font color="FF3399"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF3399;"<strong>Kobiety</strong></span></font></a>]

[<a href="memberlist.php?usergroup=2"><font color="888888"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #888888;"<strong>Zarejestrowani</strong></span></font></a>]

[<a href="memberlist.php?usergroup=7"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #000;"<strong><s>Zbanowany</s></strong></span></a>]

</div>
</td>
</tr>
</td>
</tr>
</table>
Pomogłem? Doceń to ^.^
To raczej w index trzeba przesunąć.
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI
nie wiem czy dokładnie o to chodzi ale proszę :)
{$forumstats}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="width: 98%; border-left: 1px solid #393939; border-right: 1px solid #393939;">
    <tr>
        <td align="left" class="tcat">
            <b>{$lang->online_note}</b>
        </td>
        <td align="right" class="tcat">
                        <a href="showteam.php">Ekipa forum</a>&nbsp;&nbsp;&nbsp;
            <a href="stats.php">Statystyki</a> &nbsp;&nbsp;&nbsp;
        </td>
    </tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="width: 98%; border-left: 1px solid #393939; border-right: 1px solid #393939; border-bottom: 1px solid #393939;">
    <tr>
        <td style="background: #1a1a1a; padding: 6px;">
            {$onlinemembers}<br>
            {$birthdays}
<br>
<tr><td class="tcat">Legenda</td></tr>
<tr><td class="trow1"><div style="text-align: center;">

[<a href="memberlist.php?usergroup=4"><font color="FF3300"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF3300;"<strong>Administrator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=9"><font color="0066CC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #0066CC;"<strong>Junior Administrator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=6"><font color="FF6600"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF6600;"<strong>Moderator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=11"><font color="99FF66"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #99FF66;"<strong>Admin COD</strong></span></font></a>]

[<a href="memberlist.php?usergroup=21"><font color="00CC00"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #00CC00;"<strong>Admin DD2/</strong></span></font></a>]

[<a href="memberlist.php?usergroup=15"><font color="9933FF"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #9933FF;"<strong>Blacklist</strong></span></font></a>]

[<a href="memberlist.php?usergroup=22"><font color="191970"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #191970;"<strong>Technik</strong></span></font></a>]

[<a href="memberlist.php?usergroup=19"><font color="99FFCC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #99FFCC;"<strong>Grafik</strong></span></font></a>]    

[<a href="memberlist.php?usergroup=18"><font color="00CCCC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #00CCCC;"<strong>Reklamer</strong></span></font></a>]

[<a href="memberlist.php?usergroup=14"><font color="9999FF"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #9999FF;"<strong>Sponsor</strong></span></font></a>]

[<a href="memberlist.php?usergroup=13"><font color="FFFF66"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FFFF66;"<strong>VIP</strong></span></font></a>]

[<a href="memberlist.php?usergroup=16"><font color="FFCC99"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FFCC99;"<strong>Stały Bywalec</strong></span></font></a>]

[<a href="memberlist.php?usergroup=20"><font color="FF3399"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF3399;"<strong>Kobiety</strong></span></font></a>]

[<a href="memberlist.php?usergroup=2"><font color="888888"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #888888;"<strong>Zarejestrowani</strong></span></font></a>]

[<a href="memberlist.php?usergroup=7"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #000;"<strong><s>Zbanowany</s></strong></span></a>]

</div>
</td>
</tr>
</td>
</tr>
</table>
A czemu Ty odpisujesz a nie Darni?
Nie to podane. Index (ze strona główna w szablony).
Jeśli Ci pomogłem naciśnij guzik POMÓGŁ lub dodaj PUNKT REPUTACJI
(03.08.2013, 09:53)Patryk1011 napisał(a): nie wiem czy dokładnie o to chodzi ale proszę :)
{$forumstats}
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="width: 98%; border-left: 1px solid #393939; border-right: 1px solid #393939;">
    <tr>
        <td align="left" class="tcat">
            <b>{$lang->online_note}</b>
        </td>
        <td align="right" class="tcat">
                        <a href="showteam.php">Ekipa forum</a>&nbsp;&nbsp;&nbsp;
            <a href="stats.php">Statystyki</a> &nbsp;&nbsp;&nbsp;
        </td>
    </tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" style="width: 98%; border-left: 1px solid #393939; border-right: 1px solid #393939; border-bottom: 1px solid #393939;">
    <tr>
        <td style="background: #1a1a1a; padding: 6px;">
            {$onlinemembers}<br>
            {$birthdays}
<br>
<tr><td class="tcat">Legenda</td></tr>
<tr><td class="trow1"><div style="text-align: center;">

[<a href="memberlist.php?usergroup=4"><font color="FF3300"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF3300;"<strong>Administrator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=9"><font color="0066CC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #0066CC;"<strong>Junior Administrator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=6"><font color="FF6600"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF6600;"<strong>Moderator</strong></span></font></a>]

[<a href="memberlist.php?usergroup=11"><font color="99FF66"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #99FF66;"<strong>Admin COD</strong></span></font></a>]

[<a href="memberlist.php?usergroup=21"><font color="00CC00"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #00CC00;"<strong>Admin DD2/</strong></span></font></a>]

[<a href="memberlist.php?usergroup=15"><font color="9933FF"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #9933FF;"<strong>Blacklist</strong></span></font></a>]

[<a href="memberlist.php?usergroup=22"><font color="191970"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #191970;"<strong>Technik</strong></span></font></a>]

[<a href="memberlist.php?usergroup=19"><font color="99FFCC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #99FFCC;"<strong>Grafik</strong></span></font></a>]    

[<a href="memberlist.php?usergroup=18"><font color="00CCCC"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #00CCCC;"<strong>Reklamer</strong></span></font></a>]

[<a href="memberlist.php?usergroup=14"><font color="9999FF"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #9999FF;"<strong>Sponsor</strong></span></font></a>]

[<a href="memberlist.php?usergroup=13"><font color="FFFF66"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FFFF66;"<strong>VIP</strong></span></font></a>]

[<a href="memberlist.php?usergroup=16"><font color="FFCC99"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FFCC99;"<strong>Stały Bywalec</strong></span></font></a>]

[<a href="memberlist.php?usergroup=20"><font color="FF3399"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #FF3399;"<strong>Kobiety</strong></span></font></a>]

[<a href="memberlist.php?usergroup=2"><font color="888888"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #888888;"<strong>Zarejestrowani</strong></span></font></a>]

[<a href="memberlist.php?usergroup=7"><span style="font-family: Comic Sans MS;text-shadow: 0px 0px 6px #000;"<strong><s>Zbanowany</s></strong></span></a>]

</div>
</td>
</tr>
</td>
</tr>
</table>


Brawo podałeś to samo co ja :sciana:

Próbowałem dać diva centrującego, niby działa ale efekt przewijania z boku na bok zostaje:

Mój index:
<html>
<head>
<title>{$mybb->settings['bbname']}</title>
{$headerinclude}
<script type="text/javascript">
<!--
    lang.no_new_posts = "{$lang->no_new_posts}";
    lang.click_mark_read = "{$lang->click_mark_read}";
// -->
</script>
</head>
<body>
{$header}
{$ps_header_index}

<div class="bannerystrglowna">
<table width=100% height=60 border=0 cellpadding=0 cellspacing=0>
<tr valign=middle height=60>
<td align=center width=50%>
<a href="http://life4club.eu"><img src="http://life4club.eu/img/l4c2.png" style="opacity: 1;" onmouseover="this.style.opacity=0.8;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=1;this.filters.alpha.opacity=40"/></a>
</td>
<td align=center width=50%>
<a href="http://www.pukawka.pl/pp,csportico.html"><img src="http://www.iv.pl/images/80944257303226963353.png" style="opacity: 1;" onmouseover="this.style.opacity=0.8;this.filters.alpha.opacity=100" onmouseout="this.style.opacity=1;this.filters.alpha.opacity=40"/></a>
</td>
</tr>
</table>
</div>
<br class="clear" />

<div class="sidebar" style="float: right;width: 20%;">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

<tr>
<td class="tboczny"><strong>
Dołącz do nas
</strong></td>
</tr>
<tr>
<td class="trow2">
<center>
<a href=http://steamcommunity.com/groups/csportico><img src='http://img12.imageshack.us/img12/5219/7uq4.png' border='0'/>
</center>
</td>
</tr>
</tr>
</table>
<br />
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">

<tr>
<td class="tboczny"><strong>
CS-Portico na Facebooku
</strong></td>
</tr>
<tr>
<td class="trow2">
<center>
<iframe src="//www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FCsPorticooffical&amp;width=250&amp;height=258&amp;colorscheme=dark&amp;show_faces=true&amp;header=false&amp;stream=false&amp;show_border=false" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:270px; height:275px;" allowTransparency="true"></iframe>
</center>
</td>
</tr>
</tr>
</table>

<br />

{$topStats['Reputation']}

{$topStats['LastThreads']}

{$topStats['Posters']}

{$topstats_Mostviews_Threads}




</div>

<div class="forums" style="float: left;width: 79%;">
{$forums}

{$dvz_shoutbox}
</div>
</div>

<br class="clearboth">
<div align="center">
{$boardstats}
</div>

{$footer}
</body>
</html>
Pomogłem? Doceń to ^.^



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

2 gości