Macromedia dreamweaver 8-using dreamweaver User Manual
394
Chapter 13: Inserting and Formatting Text
To insert a non-breaking space, do one of the following:
■
In the HTML category of the Insert bar, click the Characters button and select Insert
Non-breaking Space.
Non-breaking Space.
■
Select Insert > HTML > Special Characters > Non-Breaking Space.
■
Press Control+Shift+Spacebar (Windows) or Option+Spacebar (Macintosh).
To set a preference to add non-breaking spaces:
1.
Select Edit > Preferences (Windows) or Dreamweaver > Preferences (Macintosh).
2.
In the General category make sure Allow Multiple Consecutive Spaces is checked.
Using Cascading Style Sheets to format
text
text
By default, Dreamweaver uses Cascading Style Sheets (CSS) to format text. The styles that
you apply to text using the Property inspector or menu commands create CSS rules that are
embedded in the head of the current document. CSS styles provide you with greater flexibility
and control over the appearance of your page, from the precise positioning of layout to
specific fonts and text styles.
you apply to text using the Property inspector or menu commands create CSS rules that are
embedded in the head of the current document. CSS styles provide you with greater flexibility
and control over the appearance of your page, from the precise positioning of layout to
specific fonts and text styles.
You can also use the CSS Styles panel to create and edit CSS rules and properties. The CSS
Styles panel is a much more robust editor than the Property inspector, and displays all CSS
rules defined for the current document, whether those rules are embedded in the head of the
document or in an external style sheet. Macromedia recommends that you use the CSS Styles
panel (rather than the Property inspector) as the primary tool for creating and editing your
CSS. As a result, your code will be cleaner and easier to maintain.
Styles panel is a much more robust editor than the Property inspector, and displays all CSS
rules defined for the current document, whether those rules are embedded in the head of the
document or in an external style sheet. Macromedia recommends that you use the CSS Styles
panel (rather than the Property inspector) as the primary tool for creating and editing your
CSS. As a result, your code will be cleaner and easier to maintain.
In addition to styles and style sheets you create, you can use style sheets that come with
Dreamweaver to apply styles to your documents. (See
Dreamweaver to apply styles to your documents. (See
.)
Using the CSS Styles panel
You use the CSS Styles panel to view, create, edit, and remove CSS styles, as well as to attach
external style sheets to documents. (For an overview of this panel, see
external style sheets to documents. (For an overview of this panel, see