Ver Mensaje Individual
  #1 (permalink)  
Antiguo 07/10/2008, 08:51
lesdayan
 
Fecha de Ingreso: enero-2006
Mensajes: 7
Antigüedad: 18 años, 10 meses
Puntos: 0
[Help] espacio muy grande

Hola disculpen nose si me puedan ayudar con respecto a mi pagina...
lo que pasa es q aprece un espacio grande entre el texto y el boby
nose como sacarcelo o weno alguien k me pueda ayudar

Código:
<?php
require_once('inc/config2.inc.php');
require_once('inc/functions.inc.php');
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <head>
        <link href="style.css" rel="stylesheet" type="text/css"/>  
        <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    </head>
    <body>
        <?php
            $sQuery     = "SELECT t2.channelnum, t2.charname, t2.level, t2.class FROM accounts AS t1 INNER JOIN characters AS t2 ON t1.username = t2.accountname WHERE t1.accesslevel >= 100";
            $rExecute   = mysql_query( $sQuery );
            $iNbOfResult = mysql_num_rows( $rExecute );
            
            $ctr = 0;

            while( $aRowData   = mysql_fetch_assoc( $rExecute ) )
            {
                $aData['channelnum'][$ctr]  = $aRowData['channelnum'];
                $aData['charname'][$ctr]    = $aRowData['charname'];
                $aData['level'][$ctr]       = $aRowData['level'];
                $aData['level2'][$ctr]      = RealLevel( $aRowData['level'], $aRowData['class'] );
                $aData['class'][$ctr]       = $aRowData['class'];
                $ctr++;
            }
            
            if( 1 < $iNbOfResult )
            {
                array_multisort( $aData['level2'], SORT_NUMERIC, SORT_DESC, $aData['channelnum'], $aData['charname'], $aData['level'], $aData['class']);
            }
            
            echo'
            <table style="border: 0px solid blue; font-size: 12px;" cellpadding="0" cellspacing="0">
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ID &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Level&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;  Name &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Class &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Status</center>
 	<br><table style="border: 0px solid blue; font-size: 12px;" cellpadding="0" cellspacing="0">

            ';
            
            $iNo = 1;
            
            while( $iNo <= $iNbOfResult )
            {
                echo '


                   <Br><td align="center">'.$iNo.' 	                
 		    <td align="center">&nbsp;&nbsp;&nbsp;&nbsp;'.RealLevel2( $aData['level'][$iNo-1], $aData['class'][$iNo-1] ).' </td>
	            <td align="center">&nbsp;&nbsp;'.$aData['charname'][$iNo-1].'      </td>         
 		    <td align="center">&nbsp;&nbsp;'.Job($aData['class'][$iNo-1]).' </td>
                    <td align="center">&nbsp;&nbsp;'.Statu($aData['channelnum'][$iNo-1]).' </td>
    <td style="width: 20px;"></td>
                </tr>
                <tr>
                    <td style="width: 20px;"></td>
                    <td style="width: 20px;"></td>
                </tr>

                ';
                $iNo++;
            }
            
            echo'
            </table>
            ';
        ?>
    </body>
</html>

Código:
<?php
require('./config.php');
?>

<title>FlyFF Webpage v0.3 - by HexGuard.net</title>
<script type="text/javascript" src="files/e107.htm"></script>
<script type="text/javascript" src="files/sleight_js.htm"></script>
<link rel="stylesheet" href="files/style.css" type="text/css" media="all">
<link rel="stylesheet" href="files/e107.css" type="text/css">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<meta http-equiv="content-style-type" content="text/css">
<meta http-equiv="content-language" content="en">

<link rel="StyleSheet" href="files/topbar.css" type="text/css" media="screen">



</head><div class="bg">

<div id="topbar">

<font color="white"><font color="white"><a href="./index.php">FlyFF Webpage </a> Made by o0jetame0o</font></font><div class="topbar-right">


</div>
</div>

<div class="wrapper"><div class="innerwrapper"><div class="header"></div>
<div class="nav"><ul id="topmenu"><font color="white"><li><a class="offpage" title="Welcome" href="./index.php" accesskey="0">Home</a></li><li><a class="offpage" title="Register" href="./register.php" accesskey="1">Register Account</a></li><li><a class="offpage" title="Rank Page" href="./ranking.php" accesskey="3">Ranking</a></li><li><a class="offpage" title="Downloads" href="./downloads.php" accesskey="4">Downloads</a></li></font></ul>
</div><div class="clear"></div><div class="main"><div class="leftmenu"><h3><font color="white">Server Status</font></h3>
<div class="bodytable">

<?php
include('./_stats.php');
?>


</tr></tbody></table></font>


</tbody></table>

</table>
<br>

</center></td>
</tr></tbody></table></div>

<h3><font color="white">Advertisments</font></h3>
<div class="bodytable"><a href="http://hexguard.net/"><img src="files/adv.jpg" border="0"></a></font></div></div></div><div class="central">

<h3>Rankings</h3>
<div class="bodytable">
<?php
include('./rank.php');
?>
</div><br><br>

</div><div class="rightmenu">


<h2><font color="white">Players Online</font></h2>
<div class="bodytable"><table id="table1" width="90%" border="0" cellpadding="0" cellspacing="0"> 
<tbody><tr>  
<div class="centered"><table>
&nbsp;- Total Accounts:
            <?php
			
			$tcount = mysql_query("SELECT * FROM accounts");
			echo mysql_num_rows($tcount);
			?>
            <br />
            - Total Chars:  
            <?php
			$tchar = mysql_query("SELECT * FROM characters");
			echo mysql_num_rows($tchar);
			?>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <br />
            - Players Online:   
          <?php		
			$tonl = mysql_query("SELECT * FROM accounts WHERE logged_in = '1' ");
			echo mysql_num_rows($tonl);		
			?></p>
          </div></td>

</tbody></table> 
</div>

  


<h3><font color="white">Vote for us.</font></h3>
<div class="bodytable">
<?php
include('./vote.php');
?>
</div></div>
</div><div class="clear"></div></div>
       </script>
</body></html>
se los agradesco de antemano ^^ mil mil gracias por la ayud q me puedan brindar ó por tan cikiera leer