
Inserting and Formatting Text
251
4
Select a document or site root-relative path. See “About document locations
and paths” on page 354.
5
Click Open. The style sheet is attached to your Dreamweaver document and its
styles appear in the CSS Styles panel.
To link to or create an external CSS style sheet:
1
Choose Window > CSS Styles, or click the CSS Styles icon in the Launcher.
2
In the CSS Styles panel, right-click (Windows) or Control-click (Macintosh)
and choose Edit Style Sheet from the pull-down menu.
3
In the Edit Style Sheet dialog box, click Link.
4
In the Link External Style Sheet dialog box, do one of the following:
•
Click Browse (Windows) or Choose (Macintosh) to browse to an external CSS
style sheet, or type the path to the style sheet in the File/URL box. (Browsing is
recommended because it ensures that the correct path to the style sheet is entered.)
•
Create a new external CSS style sheet by entering a new file name (one that
doesn’t already exist at the specified location). The file name must end in the
.css extension.
5
Select the Link or Import option to specify and create the tag used to attach the
external CSS style sheet to the document, and then click OK.
Import brings the information in the external CSS style sheet file into the
current document, while Link accesses and relays the information without
transferring it.While both Import and Link call all styles in the external CSS
style sheet into the current document, Link offers more features and works
in more browsers.
The name of the external CSS style sheet appears with the identifier (link or
import) in the list of styles in the Edit Style Sheet dialog box. Complete the
steps below to create or edit the styles defined in the external CSS style sheet.
6
In the Edit Style Sheet dialog box, select the name of the external style sheet
and click Edit.
The Edit Style Sheet dialog box appears for that style sheet.
7
Click New to define styles in the external CSS style sheet.
8
In the New Style dialog box, define the new style. See “Creating a CSS style in
Dreamweaver” on page 252.
9
Click Save when you have finished defining styles.
Содержание 38028779 - Macromedia Dreamweaver - Mac
Страница 1: ...macromedia Using Dreamweaver...
Страница 148: ...Chapter 4 148...
Страница 296: ...Chapter 12 296...
Страница 472: ...Chapter 18 472...
Страница 512: ...Chapter 21 512...
Страница 562: ...Appendix 562...