61,129
社区成员




<html>
<head>
<title></title>
<style type="text/css">
table {border: 5px solid purple;}
#Table2 {border: green;} <----- id 设置
</style>
</head>
<body>
<table>
<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"> <----- id 设置
<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>
<html>
<head>
<title></title>
<style type="text/css">
#Table1 {border: 5px solid purple;}
#Table2 {
border-style: dotted;
border-width: 9px;
border-color: green;
}
#Table3 {
border-top: 3px double;
border-bottom: thick dashed;
border-right: thin inset red;
border-left: 5px solid blue;
}
</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>
<table id="Table3">
<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>
<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>
#Table2 { border: solid 1px green; }
#Table2 { border-color: green; }