CSS - Line Spacing
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: How can I set line spacing with CSS, like we can set line spacing in MS Word? 回答1: Try the line-height property. For example, 12px font-size and 4px distant from the bottom and upper lines: line-height: 20px; /* 4px +12px + 4px */ Or with em units line-height: 1.7em; /* 1em = 12px in this case. 20/12 == 1.666666 */ 回答2: Late to this party, but wanted to add on. You can also use a unit-less value, which is the number of lines: line-height: 2; is double spaced, line-height: 1.5; is one and a half, etc. 回答3: Try this property line-height:200%;