CSS text align justify big spaces

Wizard picture Wizard · Feb 27, 2013 · Viewed 58.6k times · Source

To format paragraphs I use text-align:justify, but I have one problem that there are big spaces between words, for IE the solution is to use text-justify: distribute;, but Chrome doesn't support this, my question is what should I use for Chrome and Firefox

Example of big spaces: http://jsfiddle.net/L5drN/

Answer

Laksh picture Laksh · Dec 30, 2013

Give negative values as you prefer for word-spacing..

ex:

text-align:justify;
word-spacing:-2px;

Works for me and Hope this helps :)