问题描述:

Is it possible to add space between columns, but maintain a border on both sides? See the following image:

网友答案:

One option is using the border-spacing CSS rule. Something like this:

table {
  border-spacing: 10px 0;
}

Here is a quick example.

网友答案:

Border spacing css attribute will fix your problem.

table {
border-spacing: 10px 0;
}
网友答案:

You can use border-spacing.

table { 
      border-spacing: 10px 0;
}

For more table related styles you can check this http://www.w3.org/TR/CSS2/tables.html

相关阅读:
Top