html表格中 行边框设置问题
发布网友
发布时间:2022-04-21 12:51
我来回答
共1个回答
热心网友
时间:2022-04-21 14:20
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head>
<body style="width:100%" align="center">
<table style="width:90%" cellpadding='0' border='0' cellspacing='0' align="center">
<tr>
<td style="border-top:1px solid black;border-left:1px solid black">fddf</td>
<td style="border-top:1px solid black;">fddf</td>
<td style="border-top:1px solid black;border-right:1px solid black">fddf</td>
</tr>
<tr>
<td style="border-top:1px solid black;border-left:1px solid black">fddf</td>
<td style="border-top:1px solid black;">fddf</td>
<td style="border-top:1px solid black;border-right:1px solid black">fddf</td>
</tr>
<tr>
<td style="border-top:1px solid black;border-left:1px solid black;border-bottom:1px solid black;">fddf</td>
<td style="border-top:1px solid black;border-bottom:1px solid black;">fddf</td>
<td style="border-top:1px solid black;border-bottom:1px solid black;border-right:1px solid black">fddf</td>
</tr>
</table>
</body>
</html>
不知道你要的是不是这种效果。