Govind Samrow Govind Samrow - 4 months ago 8
CSS Question

How to cover spaces ending in line <p> tag

My paragraph not well formeted , there is diffrent whites space in end of each line.



p {
font-size: 15px;
color: #555;
line-height: 20px;
text-indent: 30px;
}

<p>An area of the site that we feel will be a great revenue stream is advertising from
companies related to the market or interested in the profile of people we will be
attracting.
We would want this to be maximised to get the best return for both parties without
making the site look too commercial. </p>





I want to remove all spaces in end of each line.

Answer

You should do some changes like:

p {
    font-size: 15px;
    color: #555;
    text-align: justify;
}

it will work.