# justification-ratio attribute

Type: | number (between 0 and 1)
Inherited: | yes
Used By: | All text elements
Default: | 0.5
See: | text-align

The justification-ratio determines how a line of text with text-align set to "justify" is padded to fill the line. A value of zero causes all the spacing to be added evenly between letters, whereas a value of one causes all the spacing to be added around the breaks between words. The default value is 0.5, which is half and half and gives generally good results.