Text style properties

Using the following properties, indentation of first lines, the spacing between words and letters, automated transformation to upper-case or lower-case letters, underlines and overlines, and the horizontal and vertical alignment of lines and words, can all be achieved.

Word spacing

Additional space can be inserted between words using the 'word-spacing' property. It takes a length parameter, or 'normal' (the default):

important   { ... ; word-spacing: 3pt }

Letter spacing

Additional space can also be inserted between letters in a word, using the 'letter-spacing' property. It takes a length parameter, or 'normal' (the default):

important   { ... ; letter-spacing: 1pt }

Text decoration

Lines can be added to the text using the ...

Get XML Companion, The, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.