| word-spacing |
| Whereas Font Properties control the display options of the type of your document, Text Properties control the options pertaining to the layout and appearance of the paragraphs in which the text is presented.
Some text properties include text capitalization and minor effects such as blinking and underlined sections of text. word-spacing This property sets the amount of space which appears between words. word-spacing values normal This is the default, and is used to change back to normal spacing from previous word-spacing statements. syntax {word-spacing: normal} length The measurement options for this value are: • mm millimeters. • cm centimeters. • in inches. • pt points, which is a way of measuring the font size. One point is 1/72 (one seventy-second) of an inch. • pc picas, which is yet another way of measuring font size. One pica is equal to 12 points. • px pixels, which is one screen element. The display you're looking at is comprised of thousands of individual dots, each of which can change in color and luminosity to achieve the desired image. Each of these dots is referred to as a pixel. • ex x-height settings, which is the height of the font's lower case letter 'x'. • em em setting. One em is equivalent to the width of a capital letter in the chosen font. Millimeters, centimeters, inches, points, and picas are considered to be absolute lengths because you're specifying the exact size of the type. Relative units such as em and ex are interpreted as references to the parent font size. The values invoked in a child element add to the values of the parent element. For example, a child element is declared with a value of 2em. The default for the document, stated in the BODY is also 2em. The resulting value for the child, then, is 4em. The value of the parent element (the default, in this case) has been added to the value of the child element. Decimal numbers, percentages, and negative numbers may be used when assigning a word-spacing value. EXAMPLES: P {word-spacing: 2em} This example sets the word spacing of the text within the paragraph (P) statement(s) to be twice that of the parent or default value. H2 {word-spacing: 0.5} This example will cause the heading level H2 to have a word-spacing value half (0.5) that of the default or parent value. |