CSS Tutorial

CSS Style

CSS Layout Style

CSS Float Style

CSS Reference

CSS border-collapse property




CSS border-collapse property allow to set the table border collapsed. It means collapse set for a padding adjust between content or table.


Property Values


Properties Value Description
Syntax border-collapse:value;
value   collapse (single collapse border)
  separate (border are detached)
  inherit
Allow to Only for Table elements
Inherited Yes

Example-Code:

<table style="border:2px solid orange;border-collapse:collapse;">
<tr>
  <td>
      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.