Webboard

Pełna wersja: Zmiejszenie odleglości pomiedzy belkami [ PANEL ]
Aktualnie przeglądasz uproszczoną wersję forum. Kliknij tutaj, by zobaczyć wersję z pełnym formatowaniem.
wersja skryptu MyBB: 12
adres forum: fcsh.net
na czym polega problem (screen, opis, komunikaty, nazwa stylu/theme/szablonu):
http://scr.hu/349/q7e6n
Chciałbym zmieszyć te odleglosci
plik index
Kod:
<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}


<center><font size="6">LIGA 4V4 RUSZYŁA! </font></center>




<br>
<table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
    <tr>
        <td valign="top" style="padding-right: 20px" >
            

        
{$inferno_shoutbox}<table width="100%"  border="0">
  <tr>
    <td width="75%" valign="top">{$forums}</td>
    <td width="25%" valign="top">{$top_posters}</td>
  </tr>
</table>
            


{$boardstats}
        </td>
        <td valign="top" width="170">
    <table border="0" cellspacing="0" cellpadding="4" class="tborder">
                <tr>
                    
            
                <tr>

                                                        <td class="thead"><strong>FCSH.TV</strong></td>


                </tr>

                <tr>





                </tr>




            </table>
<br>


<center><iframe width="235" height="205" src="//www.youtube.com/embed/cAQWwCxXmIg?rel=0" frameborder="0" allowfullscreen></iframe></center>
<center><iframe width="235" height="205" src="//www.youtube.com/embed/I1QQ1iRGGT4" frameborder="0" allowfullscreen></iframe></center>


<center><iframe width="235" height="205" src="//www.youtube.com/embed/CRewoJF9_a4?rel=0" frameborder="0" allowfullscreen></iframe></center>
<br />


<table border="0" cellspacing="0" cellpadding="4" class="tborder">



                <tr>
                

{$teamonline}
{$latestthreads}


<table border="0" cellspacing="0" cellpadding="4" class="tborder">
                <tr>
                    <td class="thead"><strong>Podgląd TS3</strong></td>
                </tr>
                <tr>


                </tr>

</table>
<iframe src="http://cache.www.gametracker.com/components/html0/?host=178.217.188.172:9987&bgColor=FFFFFF&fontColor=333333&titleBgColor=FFFFFF&titleColor=000000&borderColor=BBBBBB&linkColor=091858&borderLinkColor=5C5C5C&showMap=0&currentPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe>
<br />



                </tr>
</table><br />
        </td>
    </tr>
</table>
        </td>
        




</body>
</html>
Dałem Ci poprawiony szablon index, nie skorzystałeś..
Kod PHP:
<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}


<
center><font size="6">LIGA 4V4 RUSZYŁA! </font></center>




<
br>
<
table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
    <
tr>
        <
td valign="top" style="padding-right: 20px" >
            

        
{
$inferno_shoutbox}<table width="100%"  border="0">
  <
tr>
    <
td width="75%" valign="top">{$forums}</td>
    <
td width="25%" valign="top">{$top_posters}</td>
  </
tr>
</
table>
            


{
$boardstats}
        </
td>
        <
td valign="top" width="170">
    <
table border="0" cellspacing="0" cellpadding="4" class="tborder">         
                <
tr>
                                                        <
td class="thead"><strong>FCSH.TV</strong></td>

                </
tr>
            </
table>


<
center><iframe width="235" height="205" src="//www.youtube.com/embed/cAQWwCxXmIg?rel=0" frameborder="0" allowfullscreen></iframe></center>
<
center><iframe width="235" height="205" src="//www.youtube.com/embed/I1QQ1iRGGT4" frameborder="0" allowfullscreen></iframe></center>


<
center><iframe width="235" height="205" src="//www.youtube.com/embed/CRewoJF9_a4?rel=0" frameborder="0" allowfullscreen></iframe></center>
<
br />


<
table border="0" cellspacing="0" cellpadding="4" class="tborder">



                <
tr>
                

{
$teamonline}
{
$latestthreads}


<
table border="0" cellspacing="0" cellpadding="4" class="tborder">
                <
tr>
                    <
td class="thead"><strong>Podgląd TS3</strong></td>
                </
tr>
                <
tr>


                </
tr>

</
table>
<
iframe src="http://cache.www.gametracker.com/components/html0/?host=178.217.188.172:9987&bgColor=FFFFFF&fontColor=333333&titleBgColor=FFFFFF&titleColor=000000&borderColor=BBBBBB&linkColor=091858&borderLinkColor=5C5C5C&showMap=0&currentPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe>
<
br />



                </
tr>
</
table><br />
        </
td>
    </
tr>
</
table>
        </
td>
        




</
body>
</
html
Snake, próbowałem tak lecz ekran yt jest zaraz orzy belce a to wyglada brzydko.
Chcialbym go opuscic lekko w dolnp. o 2px
Kod PHP:
<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}
<
center><font size="6">LIGA 4V4 RUSZYŁA! </font></center>

<
br>
<
table border="0" width="100%" cellspacing="0" cellpadding="0" align="center">
    <
tr>
        <
td valign="top" style="padding-right: 20px" >          
{
$inferno_shoutbox}<table width="100%"  border="0">
  </
tr>
  <
tr>
    <
td width="75%" valign="top">{$forums}</td>
    <
td width="25%" valign="top">{$top_posters}</td>
  </
tr>
</
table>          


{
$boardstats}
        </
td>
        <
td valign="top" width="170">
    <
table border="0" cellspacing="0" cellpadding="4" class="tborder">
    <
tr>
                                                 <
tr>
                                                        <
td class="thead"><strong>FCSH.TV</strong></td>
                </
tr>
                            </
table>
<
div style="padding-top: 2px;"></div>


<
center><iframe width="235" height="205" src="//www.youtube.com/embed/cAQWwCxXmIg?rel=0" frameborder="0" allowfullscreen></iframe></center>
<
center><iframe width="235" height="205" src="//www.youtube.com/embed/I1QQ1iRGGT4" frameborder="0" allowfullscreen></iframe></center>


<
center><iframe width="235" height="205" src="//www.youtube.com/embed/CRewoJF9_a4?rel=0" frameborder="0" allowfullscreen></iframe></center>
<
br />


<
table border="0" cellspacing="0" cellpadding="4" class="tborder">



                <
tr>
                

{
$teamonline}
{
$latestthreads}


<
table border="0" cellspacing="0" cellpadding="4" class="tborder">
                <
tr>
                    <
td class="thead"><strong>Podgląd TS3</strong></td>
                </
tr>
                <
tr>


                </
tr>

</
table>
<
iframe src="http://cache.www.gametracker.com/components/html0/?host=178.217.188.172:9987&bgColor=FFFFFF&fontColor=333333&titleBgColor=FFFFFF&titleColor=000000&borderColor=BBBBBB&linkColor=091858&borderLinkColor=5C5C5C&showMap=0&currentPlayersHeight=160&showCurrPlayers=1&showTopPlayers=0&showBlogs=0&width=240" frameborder="0" scrolling="no" width="240" height="348"></iframe>
<
br />



                </
tr>
</
table><br />
        </
td>
    </
tr>
</
table>
        </
td>
        




</
body>
</
html
Dodałem <div'a> z paddingiem-top.