On 11/19/22 08:58, Patrice Dumas wrote:
I have modified span.index-entry-level-1 to use padding-left instead of
margin-left, but to have some space between the td elements, shouldn't
margin-left be preferable?
Padding adds extra space "within" an element, while margin adds extra space
between elements.
Margin (applied to <td>) doesn't seem to affect the size/spacing of table cells.
Specifically, the following doesn't work:
td.printindex-index-section { margin-left: 2em }
However, this works:
td.printindex-index-section a { margin-left: 2em }
--
--Per Bothner
[email protected] http://per.bothner.com/