
290
Part II
Designing and Crafting Basic Pages
FIGURE 7-18
The Block options give the Web designer enhanced text control.
TABLE 7-3
CSS Block Attributes
Block Setting Description
Word Spacing
Defines the spacing between words. You can increase or decrease the spacing
with positive and negative values, set in ems by default. (In CSS, one em is
equal to the height of a given font.) If you have a 12 pt. font, to increase the
spacing between words to 24 pts., set the Word Spacing value to 2 ems.
Letter Spacing
Defines the spacing between the letters of a word. You can increase or
decrease the spacing with positive and negative values, set in ems by default.
Vertical Alignment
Sets the vertical alignment of the style. Choose from baseline, sub, super, top,
text-top, middle, bottom, or text-bottom, or add your own value.
Text Align
Sets text alignment (left, right, center, and justified).
Text Indent
Indents the first line of text on a style by the amount specified.
Whitespace
Controls display of spaces and tabs. The normal option causes all whitespace to
collapse. The Pre option behaves similarly to the <pre> tag; all whitespace is
preserved. The Nowrap option enables text to wrap if a <br> tag is detected.
Display
Determines how a tag is represented. Possible values include none, inline,
block, list-item, run-in, compact, marker, table, inline-table, table-row-group,
table-header-group, table-footer-group ...