如何使HTML中的表格的单元格填充为左侧与其他3侧分开? [英] How do make the cell padding for a table in HTML separate for the left side vs the other 3 sides?
本文介绍了如何使HTML中的表格的单元格填充为左侧与其他3侧分开?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在表格的第一列显示书籍,而标题对应于右侧栏目中的标题。我需要将右侧列中的左对齐标题靠近书籍列(中心)。
我尝试过的方法:
修改单元格框架,填充和单元格间距
I'm displaying books in the first column of a table, and the titles corresponding to the titles in the column to the right of it. I need to bring the left-aligned titles in the right column closer to the books' column (to the center).
What I have tried:
Modifying the cell frame, padding, and cell spacing
推荐答案
将单元格填充设置为0并使用填充(CSS)...
Set cell pading to 0 and use padding (CSS)...
这篇关于如何使HTML中的表格的单元格填充为左侧与其他3侧分开?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文