在某些地方,我在一些句子之间有这么大的空间:
有没有办法用 CSS 纠正这个问题?
第二个例子的HTML:
<span style="color: rgb(197, 0, 0); text-align: justify; font-size: 14px;">
<span id="MainContent_rptTest_lblTitle_2">Support to Efficient, Effictive and Transparent</span><br>
<div style="color: rgb(197, 0, 0); text-align: justify; font-size: 12px;">
<strong>
<span id="MainContent_rptTest_lblDescription_2">September 2009 – January 2010</span></strong></div>
</span>
最佳答案
去掉text-align: justify。这就是它使文本的右边距对齐的作用。你不能两者兼得。
关于asp.net - 大空白 HTML,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4734488/