To make the text appear slightly more open or dense, or to waste or gain some space, use the word-spacing property to specify the amount of space to be added or subtracted from the normal word spacing. Figure 7.6 shows an example of text with normal word spacing and the same text with extra word spacing and less word spacing. Increasing or decreasing the distance between words should be done in moderation. Generally, only small changes should be made if your intention is to improve readability. Figure 7.6. Three different levels of word spacing: (a) normal; (b) more than normal word spacing; (c) less than normal word spacing.
Justifying a line with text-align set to justify often causes the word spacing to stretch or shrink. Text is justified starting from the adjusted word spacing. A browser may use any of many different algorithms to justify text, but the better algorithms ensure that the average space in the paragraph is close to the adjusted word spacing. You may want to adjust the word spacing to improve the text's appearance. |