CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS border-spacing property




CSS border-spacing property use to set between border or contain space.


Property Values


Properties Value Description
Syntax border-spacing:value;
value   Size_pixel
  inherit
Allow to Only for Table elements
Inherited Yes

Example-Code:

<table style="border:2px solid orange;border-spacing:25px">
<tr>
  <td style="border:1px solid orange;">
      This table example of the border collapse CSS style can change a 
      border or content between padding collapse set.
  </td>
</tr>
</table> 
Online Try This Code Your Self....   »

Example-Result:

This table example of the border collapse CSS style can change a border or content between padding collapse set.