我正在使用Jekyll默认的kramdown。我有一张桌子显示使用
surround text, etc.
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
surround text...
但是桌子没有边框。如何显示边框。
最小表格样式为
table{
border-collapse: collapse;
border-spacing: 0;
border:2px solid #ff0000;
}
th{
border:2px solid #000000;
}
td{
border:1px solid #000000;
}
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句