GobiasKoffi GobiasKoffi - 5 months ago 29
CSS Question

Different line height between neighboring cells of table

Suppose I have a table with one row, and two columns. I want to have single-spacing in the left cell, and I want double spacing in the right cell. Line-height appears to affect both cells in the row. What can I do to make it work?


Just apply it only to the td and not to the tr.


Notice that only I is affected.

EDIT: Updated to illustrate css class instead of inline style.