1
我已经创建了4个搜索过滤器来显示搜索结果,并且我为表格创建了边框。但我有问题,当我点击一个过滤器和3个额外的空行打开或当我使用2个过滤器,然后2个额外的空行打开。我如何避免这种情况?下面是我的HTML代码 -表格边框问题
<html>
<head>
<title>classroom</title>
</head>
<form action="retrieve1.php" method="GET">
<select name="Grade">
<option value="" selected="selected">Choose Grade</option>
<?php grade($db) ?>
</select>
<select name="School">
<option value="" selected="selected">Choose School</option>
<?php school($db) ?>
</select>
<select name="Team">
<option value="" selected="selected">Choose Team</option>
<?php team($db) ?>
</select>
<select name="Students">
<option value="" selected="selected">Choose Students</option>
<?php students($db) ?>
</select>
<input type="submit" style="width:100px" value="Find" />
</form>
<TABLE BORDER="30" CELLPADDING="10" CELLSPACING="3" BORDERCOLOR="#707070">
<tr>
\t <th width="197"> <div align="center">FirstName </div></th>
<th width="197"> <div align="center">LastName </div></th>
<th width="198"> <div align="center">Email </div></th>
<th width="197"> <div align="center">City </div></th>
<th width="197"> <div align="center">State </div></th>
<th width="197"> <div align="center">Country </div></th>
</tr>
这解决了我的问题,谢谢 – jon