如何使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)...