CSS Border-collapse Property

Reference on the CSS Border-collapse property, possible values, and useful example.

The CSS Border-collapse property is to specify whether or not the borders of table cells should collapse into a single border. Used when styling tables with CSS.

Possible Values

  • separate - (Default)
  • collapse

CSS Border spacing example

table, td {
  border:1px solid blue;
  border-collapse: collapse;
  border-spacing: 0;
}

Inherited? YES!

Post comment

Links that you insert are not nofollowed, but will be removed by admins if they are considered spam.

[url=Absolute URL for page]TITLE[/url]

You should insert code boxes around code examples, which will be automatically syntax highlighted.

[code1 html|css|javascript|php|sql]Your Code Here[/code1]

You may want to read our Privacy Policy before submitting your comment.