在屏幕中央优雅地显示此表时遇到问题。请指教?
网页链接粘贴在下面:
http://www.technicaldebt.co.uk/fyp/prototype/databasetest.php
任何帮助是极大的赞赏。
<table border="5" cellspacing="2" cellpadding="2">
<tr>
<td><font face="Arial, Helvetica, sans-serif">Title</font></td>
<td><font face="Arial, Helvetica, sans-serif">First Name</font></td>
<td><font face="Arial, Helvetica, sans-serif">Last Name</font></td>
<td><font face="Arial, Helvetica, sans-serif">E-mail Address</font></td>
<td><font face="Arial, Helvetica, sans-serif">Project Title</font></td>
</tr>
<?php
$i=0;
while ($i < $num) {
$f1=mysql_result($result,$i,"Titles");
$f2=mysql_result($result,$i,"FirstName");
$f3=mysql_result($result,$i,"LastName");
$f4=mysql_result($result,$i,"Email");
$f5=mysql_result($result,$i,"ProjectRoles");
?>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f1; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f2; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f3; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f4; ?></font></td>
<td><font face="Arial, Helvetica, sans-serif"><?php echo $f5; ?></font></td>
</tr>
<?php
$i++;
}
?>