※★CSS
table {
width: 300px;
height: 100px;
border: 1px solid #cccccc;
table-layout: fixed;
}
th,td {
border: 1px solid #cccccc;
}
※★HTML
<table>
<tr>
<th>見出し</th>
<th>見出し</th>
</tr>
<tr>
<td>データ</td>
<td>データ</td>
</tr>
</table>
見出し | 見出し |
---|---|
データ | データ |