You can set the color of text with the following:
color: value;
Possible values are
You can adjust the space between letters in the following manner. Setting the value to 0, prevents the text from justifying. You can use negative values.
letter-spacing: value;
Possible values are
Example:
These letters are spaced at 5px.
You can align text with the following:
text-align: value;
Possible values are
Examples:
This text is aligned left.
This text is aligned in the center.
This text is aligned right.
This text is justified.
You can decorate text with the following:
text-decoration: value;
Possible values are
Examples:
This text is underlined.
This text is overlined.
This text has a line through it.
This text is blinking (not in internet explorer).
You can indent the first line of text in an (X)HTML element with the following:
text-indent: value;
Possible values are
Examples:
This text is indented 10px pixels.
You can control the size of letters in an (X)HTML element with the following:
text-transform: value;
Possible values are
Examples:
this first letter in each word is capitalized, though it is not in my file.
this text is all uppercase, though it is all lowercase in my file.
THIS TEXT IS ALL LOWERCASE. THOUGH IT IS ALL UPPERCASE IN MY FILE.
You can control the whitespace in an (X)HTML element with the following:
white-space: value;
Possible values are
You can adjust the space between words in the following manner. You can use negative values.
word-spacing: value;
Possible values are
Example:
These words are spaced at 5px.
Previous Chapter: Chapter 8 - Padding
Next Chapter: Chapter 10 - Fonts