테두리 간격 테이블 셀 사이의 너비를 지정합니다. 하나 또는 두 개의 값을 사용할 수 있습니다. 길이 단위여야 합니다.
예시
다음 코드를 실행하여 표 셀의 너비를 설정할 수 있습니다.
<html>
<head>
<style>
table.one {
border-collapse:separate;
width:300px;
border-spacing:15px 40px;
}
</style>
</head>
<body>
<table class = "one" border = "2">
<caption>The border-spacing property</caption>
<tr><td> India </td></tr>
<tr><td> UK </td></tr>
</table>
<br />
</body>
</html>