border-collapse:collapse

By | 2013년 10월 1일

<style type=”text/css”>
table
{
border-spacing:1px;
border-padding:1px;
border-collapse:collapse;
border:1px solid black;
}

td
{
border:1px solid black;
border-collapse:collapse;
}

td.lhide {
border-left-color:white;
border-left-style:hidden;
}
</style>

<html>
<body>
<table>
<tr>
<td>A1</td>
<td>B1</td>
<td>C1</td>
</tr>
<tr>
<td>A2</td>
<td class=”lhide”>B2</td>
<td class=”lhide”>C2</td>
</tr>
<tr>
<td>A3</td>
<td>A3</td>
<td>A3</td>
</tr>
</table>
</body>
</html>


A1 B1 C1
A2 B2 C2
A3 A3 A3