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

是否可以在列之间添加空格,但在两边保持边框?见下图:

3 个解决方案

#1


4

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

一种选择是使用边界间距CSS规则。像这样的东西:

table {
  border-spacing: 10px 0;
}

Here is a quick example.

这是一个简单的例子。

更多相关文章

  1. a标签下图片居中
  2. jsPDF中使用.text()方法的字母间距

随机推荐

  1. android 开机自启动程序2
  2. 【Android】Android内存溢出问题---用自
  3. android activity非全屏、透明
  4. Android studio 签名 报错:Could not down
  5. android 资源获取
  6. Android drawable 目录下 创建子目录问题
  7. android json相关
  8. android 将时间戳转为代表"距现在多久之
  9. Android实现手机振动设置的方法
  10. Android启动之BOOT_COMPLETED广播