[css] css 테이블 셈플
본문
<style type="text/css">
table.sample {
border-width: 0px 0px 0px 0px;
border-spacing: 0px;
border-style: solid solid solid solid;
border-color: black black black black;
border-collapse: collapse;
background-color: white;
}
table.sample th {
border-width: 1px 1px 1px 1px;
padding: 0px 0px 0px 0px;
border-style: solid solid solid solid;
border-color: gray gray gray gray;
background-color: white;
}
table.sample td {
border-width: 1px 1px 1px 1px;
padding: 0px 0px 0px 0px;
border-style: solid solid solid solid;
border-color: gray gray gray gray;
background-color: white;
}
</style>
<table class="sample">
<tr>
<th>Header</th>
<td>Content</td>
</tr>
</table>
table.sample {
border-width: 0px 0px 0px 0px;
border-spacing: 0px;
border-style: solid solid solid solid;
border-color: black black black black;
border-collapse: collapse;
background-color: white;
}
table.sample th {
border-width: 1px 1px 1px 1px;
padding: 0px 0px 0px 0px;
border-style: solid solid solid solid;
border-color: gray gray gray gray;
background-color: white;
}
table.sample td {
border-width: 1px 1px 1px 1px;
padding: 0px 0px 0px 0px;
border-style: solid solid solid solid;
border-color: gray gray gray gray;
background-color: white;
}
</style>
<table class="sample">
<tr>
<th>Header</th>
<td>Content</td>
</tr>
</table>
추천0
댓글목록 0
등록된 댓글이 없습니다.