开发者

Big blank space HTML

开发者 https://www.devze.com 2023-02-05 05:58 出处:网络
In some area I have this big space between some sentence: Is there a way to correct this with CSS? HTML for a second example:

In some area I have this big space between some sentence:

Big blank space HTML

Big blank space HTML

Is there a way to correct this with CSS?

HTML for a second example:

<span style="color: rg开发者_C百科b(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 &ndash; January 2010</span></strong></div>
    </span>


Take out the text-align: justify. That's what it does to get the right margin of the text to line up. You can't have both.


I'm guessing that the culprit is the css-style: text-align:justify which makes sure that each line of text is the same length


Mess with the word-spacing property.

No guarantees ;)

0

精彩评论

暂无评论...
验证码 换一张
取 消