<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<table cellspacing="1" bordercolor="#990000" cellpadding="1" border="1">
<tr height="16">
<td width="357" height="16">test</td>
<td>test</td>
<td width="126">test</td>
<td width="168">test</td>
<td width="252">test</td>
</tr>
<tr height="42">
<td height="42"> </td>
<td> </td>
<td> </td>
<td> </td>
<td>test</td>
</tr>
</table>
</body>
</html>
就是在table那个标签内加上border="1"的属性,给它个值就行了