# Usage of CSS border-spacing property

JavascriptWeb DevelopmentFront End Scripts

The border-spacing specifies the width between table cells. It can take either one or two values; these should be units of length.

## Example

You can try to run the following code to set the width of table cells:

<html>
<style>
table.one {
border-collapse:separate;
width:300px;
border-spacing:15px 40px;
}
</style>
</html>