5.7. Text Properties

The text properties control the way text in a paragraph is laid out. Options let the user customize characteristics like interword spacing, paragraph justification, and indentation of leading lines in paragraphs.

word-spacing, letter-spacing

normal | +/– pt, pc, in, cm, mm | +/– em, ex, px

These properties specify a change to the default spacing between words or characters. Values are expressed in the standard length units (see Table 5.1 in Section 5.11) or by the keyword normal. Numeric values can be positive (add the space to the default word spacing) or negative (subtract the space from the default). Neither Netscape nor Internet Explorer supports word-spacing. Netscape does not support letter-spacing.


none ...

Get Core Web Programming, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.