SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 504 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

Setting a Display attribute to
None effectively hides the element to which the CSS attribute is applied; setting the same attribute to Block
or Inline reveals the element. Many collapsible/expandable lists depend on the Display attribute to
achieve their effects.
Table 7-3 lists the CSS Block options.
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
 tag; all whitespace is
preserved.


Pages:
492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516