Markdown表格宽度调整
时间:2019-08-23 11:37:41
收藏:0
阅读:851
Markdown 表格默认宽度是根据内容来的,如果某一列内容很长的话会将其他列的宽度占用导致显示样式很丑。我们可以在表格前增加 CSS
样式来限制列的宽度:
<style> table th:first-of-type { width: 100px; } </style>
原文:https://www.cnblogs.com/markLogZhu/p/11398782.html
评论(0)