Inserting and Formatting Text > Using CSS style sheets > Style Definition Block panel

 

Style Definition Block panel

To open the CSS Style Definition dialog box, choose Window > CSS Styles and click the Open Style Sheet icon. (You can also select Edit Style Sheet or New Style from the Style pop-up menu.) In the dialog box that appears, choose a style and click Edit. Click Block on the left side of the dialog box. Leave any of the following attributes empty if they are not important to the style:

Word Spacing adds extra space between words. Word spacing may be affected by text justification. You can specify negative values, but the display depends on the browser. Dreamweaver does not display this attribute in the Document window.

Letter Spacing adds extra space between characters. You can specify negative values, but the display depends on the browser. Letter spacing overrides any extra space between letters caused by justification. Dreamweaver does not display this attribute in the Document window. The Letter spacing attribute is supported by IE but not Netscape Navigator.

Vertical Alignment specifies the vertical alignment of the element, often in relation to its parent. Dreamweaver displays this attribute in the Document window only when it is applied to the img tag.

Text Align determines how text is aligned within the element. The text align attribute is supported by both browsers.

Text Indent specifies how far the first line is indented. A negative value may be used to create an outdent, but the display depends on the browser. Dreamweaver displays this attribute in the Document window only when the tag is applied to block-level elements. The text indent attribute is supported by both browsers.

Whitespace Determines how white space within the element is handled. Choose from three options: Normal collapses white space; Pre handles it as if the text were enclosed in pre tags (that is, all white space, including spaces, tabs, and returns, is respected); Nowrap specifies that the text only wraps when a br tag is encountered. Dreamweaver does not display this attribute in the Document window. The whitespace attribute is supported by Netscape Navigator but not IE.