I have a markup like this
<div><span>My name is</span><span>ABC</span></div>
How can i justify this text on the whole line?
I have a markup like this
<div><span>My name is</span><span>ABC</span></div>
How can i justify this text on the whole line?
<div style="text-align: justify"><span>My name is</span><span>ABC</span></div>
Pretty simple, the spans will not break the text justification. If text is only one line long, it is not possible to justify it across the entire line. As well, the last line of a paragraph cannot be justified across the entire line either.