I can't find in any place if it's possible to justify a text!
Using the text-align:justify; css directive nothing seem to work.
If it's possibe... is there some documentation? what is the necessary condition to make justification work?
Thanks
Spipu Le 23/12/2010 à 14:23 it is not possible to justify a text
assuming you fill a zone by appending words until you are forced to start a new line... what could be an algorithm to implement justification?
hmm, same as left aligned: compute total space on the line (including space between words and space remaining at the right of the line) then recompute space between words with totalspace/spaces_count.
you have to know the container width.
a more skilled algorithm would also allow spaces smaller than normal to let small words fill a line where recomputed spaces are too wide.
just my 2 cents...