
322
ADOBE GOLIVE CS2
User Guide
To create an external stylesheet
1
Do one of the following:
•
To create a new external stylesheet, choose File > New, and then choose Web > CSS. Choose a preconfigured
stylesheet, or choose basic.css to open a simple stylesheet. The external CSS Editor appears.
•
To create an external stylesheet based upon a page’s internal stylesheet, open the page, and choose File > Export >
Internal Style Sheet. Name the file using .css as the extension, and save the file to your site folder. You can export
internal stylesheets only if they contain styles other than inline styles.
2
Add styles to the stylesheet.
Note:
To reference an external stylesheet in an external stylesheet, use the Create@import button. See “To reference an
external stylesheet from another external stylesheet” on page 324.
3
Reference the external stylesheet from one or more pages.
Create different external stylesheets and apply each external stylesheet separately to a page to quickly preview
different sets of styles.
To set an external stylesheet as the site default
You can set an external stylesheet to be the default stylesheet for a site. When you set an external stylesheet as the site
default, all new files you add to the site will reference it.
1
Select the stylesheet in the CSS tab of the site window.
2
In the Page tab of the File Inspector, choose Default CSS.
See also
“Types of CSS styles” on page 325
“About external stylesheets” on page 323
“To reference an external stylesheet from web pages” on page 323
To add comments to a stylesheet
1
In the CSS Definitions tab in the CSS Editor, click in a blank white area to display the Create buttons on the right
side of the Editor.
Select Show These Buttons At Top to display the Create buttons at the top of the CSS Editor.
2
Click Create Comment in the Advanced section.
3
With the comment selected under the Name column, enter comments in the text field on the right side of the CSS
Editor.
Summary of Contents for GOLIVE CS2
Page 1: ...Chapter 1 Copyright User Guide...
Page 251: ...ADOBE GOLIVE CS2 242 User Guide...