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

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

Jak wyrównać tabelkę ?

Założony przez  KarMixx.

wersja skryptu MyBB:1.6.15
adres forum:http://reklama-cs.ct8.pl/
na czym polega problem (screen, opis, komunikaty):

Witam.
Mam pytanie, mam taką oto tabelkę i chcę ją wyrównać do środka ale za żadne skarby nie wiem jak...Próbowałem na wszystkie sposoby i dalej nic.
Może ktoś mi to zrobić ? Dla doświadczonego to na pewno banał.


Oto screen jak to wygląda :

[Obrazek: 122yetk.jpg]
1. Pokaż szablon index.
2. Ta tabelka ma być w panelu bocznym? Bo trochę za szeroka jest jak na nią.
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
Oj sorry zapomniałem o indexie xd

<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>
<style type="text/css">
.buttons {
     background: url(images/arrowright.png) no-repeat;
     width: 16px;
     height: 16px;
     display: block;
     cursor: pointer;
}

.clickedbuttons {
     background: url(images/arrowleft.png) no-repeat;
     width: 16px;
     height: 16px;
     display: block;
     cursor: pointer;
}
</style>
</head>
<body>
{$header}
<a class="buttons" style="float: right;"></a>
<a class="clickedbuttons" style="float: right;"></a>
<br class="clear" />
<div class="sidebar" style="float: right;width: 245px;">

<cnter>
<img src="http://img.rzeznia.eu/facebook_sb.png" alt="RzeZnia.eu na Facebooku" width="234" height="60" border="0"/>
<br><br>
<img src="http://img.rzeznia.eu/steam_sb.png" alt="Grupa Steam RzeZnia.eu" width="234" height="60" border="0"/>
<br><br>
</center>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder2">
<tr>
<td class="thead"><strong>
Cos tu jest
</strong></td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trowboczny">
<img src="http://img.rzeznia.eu/partner/gamesol.png" style="margin: 10px;"/>
</td>
</tr>
<tr>
<td class="trowboczny">
<img src="http://img.rzeznia.eu/partner/pukawka.png" style="margin: 10px;"/>
</td>
</tr>
<tr>
<td class="trowboczny">
<img src="http://img.rzeznia.eu/partner/tserwery.png" style="margin: 10px;"/>
</td>
</tr>
</tr>
<tr>
<td class="trowboczny">
<img src="http://img.rzeznia.eu/partner/svoice.png" style="margin: 10px;"/>
</td>
</tr>
</tr>
<tr>
<td class="trowboczny">
<embed width="200" height="50" src="http://88.199.98.119/planetaskilla.swf" play="true" loop="true" quality="best" type="application/x-shockwave-flash" wmode="transparent" pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" style="margin: 10px;vertical-align: middle;"/>
</td>
</tr>
</table>

<br>

<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder2">
<tr>
<td class="thead"><strong>
Latest News
</strong></td>
</tr>
</table>
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tr>
<td class="trowboczny">
You can put some news stuff here
</td>
</tr>
</table>


<! S E R W E R Y !>


<div style="background-color: #292929;     -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; width: 640px; float: left; padding: 5px">
                        <p>Złote serwery Counter-Strike - <u>TEST TEST</u></p>
                        <script type="text/javascript">
                            $(document).ready(function()
                            {
                                $('input[name=GraFiltr]').click(function()
                                {
                                    if(!$(this).val())
                                    {
                                        $('tr.gra').show();
                                    }
                                    else
                                    {
                                        $('tr.gra').hide();
                                        $('tr.gra_' + $(this).val()).show();
                                    }
                                });
                            });
                        </script>
                        <p>
                            <input type="radio" name="GraFiltr" value="" checked="checked"> 1.6 + Global Offensive
                            <input type="radio" name="GraFiltr" value="cstrike"> Tylko 1.6
                            <input type="radio" name="GraFiltr" value="csgo">Serwery Metin2 już wkrótce !
                        </p>
                        
                        <table class="moje_serwery" style="clear: both">
                            <tbody><tr>
                                <td style="width: 10%">Gra</td>
                                <td style="width: 45%">Nazwa serwera</td>
                                <td style="width: 20%">IP</td>
                                <td style="width: 10%">Graczy</td>
                                <td style="width: 15%">Mapa</td>
                                
                            </tr>
                                                        <tr class="gra gra_cstrike">
                                    <td style="text-align: center"><img src="http://hashjama.com/serwery_staticimg/cstrike.png" style="vertical-align: middle" title="1.6"></td>
                                    <td><a href="/serwery/80.72.41.213:27185/" style="font-weight: bold;text-decoration: none;">Nazwa Serwera</a></td>
                                    <td>Ip serwera</td>
                                    <td>Liczba graczy</td>
                                    <td title="de_train"><a href="/serwery/mapa:de_train">-------</a></td>
                                    
                            </tr>
                                                        <tr class="gra gra_cstrike">
                                    <td style="text-align: center"><img src="http://hashjama.com/serwery_staticimg/cstrike.png" style="vertical-align: middle" title="1.6"></td>
                                    <td><a href="/serwery/193.33.176.210:27015/" style="font-weight: bold;text-decoration: none;">Nazwa Serwera</a></td>
                                    <td>Ip serwera</td>
                                    <td>Liczba graczy</td>
                                    <td title="de_dust2"><a href="/serwery/mapa:de_dust2">-------</a></td>
                                    
                            </tr>
                                                        <tr class="gra gra_cstrike">
                                    <td style="text-align: center"><img src="http://hashjama.com/serwery_staticimg/cstrike.png" style="vertical-align: middle" title="1.6"></td>
                                    <td><a href="/serwery/193.33.177.84:27015/" style="text-decoration: none;">Nazwa Serwera</a></td>
                                    <td>Ip serwera</td>
                                    <td>Liczba graczy</td>
                                    <td title="de_dust2"><a href="/serwery/mapa:de_dust2">-------</a></td>
                                    
                            
                            
                            </tr>
                                                    </tbody></table>
                    </div>

</div>
<div class="forums" style="float: left;width: 735px;">
{$forums}
</div>
<br class="clear" />
{$boardstats}


<br style="clear: both" />
{$footer}
</body>
</html>

Tak w panelu bocznym, wejdzie na styk :P
Odszukaj:
<div style="background-color: #292929;     -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; width: 640px; float: left; padding: 5px"
i usuń:
width: 640px;
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.
ehh sorry nie tu to miało być tylko tu :

[Obrazek: rtqiat.jpg]
No to:
<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>
<
style type="text/css">
.
buttons {
     
backgroundurl(images/arrowright.pngno-repeat;
     
width16px;
     
height16px;
     
displayblock;
     
cursorpointer;
}

.
clickedbuttons {
     
backgroundurl(images/arrowleft.pngno-repeat;
     
width16px;
     
height16px;
     
displayblock;
     
cursorpointer;
}
</
style>
</
head>
<
body>
{
$header}
<
class="buttons" style="float: right;"></a>
<
class="clickedbuttons" style="float: right;"></a>
<
br class="clear" />
<
div class="sidebar" style="float: right;width: 245px;">

<
cnter>
<
img src="http://img.rzeznia.eu/facebook_sb.png" alt="RzeZnia.eu na Facebooku" width="234" height="60" border="0"/>
<
br><br>
<
img src="http://img.rzeznia.eu/steam_sb.png" alt="Grupa Steam RzeZnia.eu" width="234" height="60" border="0"/>
<
br><br>
</
center>

<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder2">
<
tr>
<
td class="thead"><strong>
Cos tu jest 
</strong></td>
</
tr>
</
table>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="trowboczny">
<
img src="http://img.rzeznia.eu/partner/gamesol.png" style="margin: 10px;"/>
</
td>
</
tr>
<
tr>
<
td class="trowboczny">
<
img src="http://img.rzeznia.eu/partner/pukawka.png" style="margin: 10px;"/>
</
td>
</
tr>
<
tr>
<
td class="trowboczny">
<
img src="http://img.rzeznia.eu/partner/tserwery.png" style="margin: 10px;"/>
</
td>
</
tr>
</
tr>
<
tr>
<
td class="trowboczny">
<
img src="http://img.rzeznia.eu/partner/svoice.png" style="margin: 10px;"/>
</
td>
</
tr>
</
tr>
<
tr>
<
td class="trowboczny">
<
embed width="200" height="50" src="http://88.199.98.119/planetaskilla.swf" play="true" loop="true" quality="best" type="application/x-shockwave-flash" wmode="transparent" pluginspace="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" style="margin: 10px;vertical-align: middle;"/>
</
td>
</
tr>
</
table>

<
br>

<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder2">
<
tr>
<
td class="thead"><strong>
Latest News
</strong></td>
</
tr>
</
table>
<
table border="0" cellspacing="{$theme['borderwidth']}cellpadding="{$theme['tablespace']}class="tborder">
<
tr>
<
td class="trowboczny">
You can put some news stuff here
</td>
</
tr>
</
table>




</
div>
<
div class="forums" style="float: left;width: 735px;">
<! 
S E R W E R Y !>


<
div style="background-color: #292929;     -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; width: 640px; float: left; padding: 5px">
                        <
p>Złote serwery Counter-Strike - <u>TEST TEST</u></p>
                        <
script type="text/javascript">
                            $(
document).ready(function()
                            {
                                $(
'input[name=GraFiltr]').click(function()
                                {
                                    if(!$(
this).val())
                                    {
                                        $(
'tr.gra').show();
                                    }
                                    else
                                    {
                                        $(
'tr.gra').hide();
                                        $(
'tr.gra_' + $(this).val()).show();
                                    }
                                });
                            });
                        </
script>
                        <
p>
                            <
input type="radio" name="GraFiltr" value="" checked="checked"1.6 + Global Offensive
                            
<input type="radio" name="GraFiltr" value="cstrike"Tylko 1.6
                            
<input type="radio" name="GraFiltr" value="csgo">Serwery Metin2 już wkrótce !
                        </
p>
                        
                        <
table class="moje_serwery" style="clear: both">
                            <
tbody><tr>
                                <
td style="width: 10%">Gra</td>
                                <
td style="width: 45%">Nazwa serwera</td>
                                <
td style="width: 20%">IP</td>
                                <
td style="width: 10%">Graczy</td>
                                <
td style="width: 15%">Mapa</td>
                                
                            </
tr>
                                                        <
tr class="gra gra_cstrike">
                                    <
td style="text-align: center"><img src="http://hashjama.com/serwery_staticimg/cstrike.png" style="vertical-align: middle" title="1.6"></td>
                                    <
td><a href="/serwery/80.72.41.213:27185/" style="font-weight: bold;text-decoration: none;">Nazwa Serwera</a></td>
                                    <
td>Ip serwera</td>
                                    <
td>Liczba graczy</td>
                                    <
td title="de_train"><a href="/serwery/mapa:de_train">-------</a></td>
                                    
                            </
tr>
                                                        <
tr class="gra gra_cstrike">
                                    <
td style="text-align: center"><img src="http://hashjama.com/serwery_staticimg/cstrike.png" style="vertical-align: middle" title="1.6"></td>
                                    <
td><a href="/serwery/193.33.176.210:27015/" style="font-weight: bold;text-decoration: none;">Nazwa Serwera</a></td>
                                    <
td>Ip serwera</td>
                                    <
td>Liczba graczy</td>
                                    <
td title="de_dust2"><a href="/serwery/mapa:de_dust2">-------</a></td>
                                    
                            </
tr>
                                                        <
tr class="gra gra_cstrike">
                                    <
td style="text-align: center"><img src="http://hashjama.com/serwery_staticimg/cstrike.png" style="vertical-align: middle" title="1.6"></td>
                                    <
td><a href="/serwery/193.33.177.84:27015/" style="text-decoration: none;">Nazwa Serwera</a></td>
                                    <
td>Ip serwera</td>
                                    <
td>Liczba graczy</td>
                                    <
td title="de_dust2"><a href="/serwery/mapa:de_dust2">-------</a></td>
                                    
                            
                            
                            </
tr>
                                                    </
tbody></table>
                    </
div>
{
$forums}
</
div>
<
br class="clear" />
{
$boardstats}


<
br style="clear: both" />
{
$footer}
</
body>
</
html
Prośby na PW dotyczące wsparcia z problemami będą ignorowane. Pomoc poza forum - odpłatna; kontakt: snakemybboard@gmail.com.



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

1 gości