61,112
社区成员
发帖
与我相关
我的任务
分享
<style type="text/css">
table {border-width: medium;}
</style>
<style type="text/css">
table {border-width: 3px;}
</style>
<style type="text/css">
table {border-color: blue;}
</style>
<html>
<head>
<title></title>
<style type="text/css">
#Table1 {border: 5px solid purple;}
#Table2 {border-style: dotted;
border-width: 9px;
border-color: green;
}
</style>
</head>
<body>
<table id="Table1">
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
<td>Data 3</td>
</tr>
</table>
<table id="Table2">
<tr>
<th>Header 1</th>
<th>Header 2</th>
<th>Header 3</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
<td>Data 3</td>
</tr>
</table>
</body>
</html>
<!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>
<title></title>
<style type="text/css">
table
{
border-top:1px solid;
border-bottom:1px solid;
border-left:0px solid;
border-right:0px solid;
border-color:#000000;
}
</style>
</head>
<body>
<table>
<tr>
<td>用户</td><td>成绩</td>
</tr>
<tr>
<td>我</td><td>100分</td>
</tr>
</table>
</body>
</html>
<!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>
<title></title>
<style type="text/css">
table {
border-style:solid;
border-width: 99px;
border-color: red;
}
</style>
</head>
<body>
<table>
<tr>
<td>单元格</td>
</tr>
<tr>
<td>单元格</td>
</tr>
<tr>
<td>单元格</td>
</tr>
</table>
</div>
</body>
</html>