【发布时间】:2015-04-02 14:19:41
【问题描述】:
请看下面的跨度:
<div style=" position:absolute; top:37.6pt; left:0.8pt; background-color:; border:0pt solid black; width:234pt;">
<div align="left" ><span style=" white-space:pre-wrap; font:normal 8pt Arial; color:rgb(0,0,0);">Your statement shows claims for medical care only after we've received and processed the claim. The claim in question may not have been received yet or it may not be finalized. There may be instances where your claims are not showing up because Health Statements have recently been added to your plan.</span></div>
</div>
Span 默认显示行距过大,我想像下面的文字一样带上行距:
<div style=" position:absolute; top:37.6pt; left:0.8pt; background-color:; border:0pt solid black; width:234pt;">
<div align="left" ><div style=" white-space:pre-wrap; font:normal 8pt Arial; color:rgb(0,0,0);">Your statement shows claims for medical care only after we've received and processed the claim. The claim in question may not have been received yet or it may not be finalized. There may be instances where your claims are not showing up because Health Statements have recently been added to your plan.</div></div>
</div>
我面临的限制是我不能使用“div”而不是 span,我也不能使用“display”属性,所以有没有办法在没有 display 属性的情况下减少 span 中的行间距.. 理想的是“line -height" 属性,但这似乎不起作用..
【问题讨论】: