
318
Chapter 13: Cascading stylesheets
Understanding cascading stylesheets
About cascading stylesheets
Cascading stylesheets (CSS) make it easy to update text properties and other attributes throughout a website. If a CSS
style needs to be updated, you simply edit the style and all content that hosts the style will automatically reflect the
new properties. With stylesheets you can set text size to display more consistently across different platforms and
control the position of content on a page with pixel-level precision. An external stylesheet can be shared by an entire
site, giving your pages a consistent presence and enabling you to update the site’s styles with a single file.
The GoLive CSS Editor lets you create CSS styles, edit style properties, reference or create external stylesheets, and
preview how some style properties may appear. Sample stylesheets are available in the New dialog box.
The CSS tab in the Site window lists external stylesheets, classes, and identifiers used in the site. For more infor
mation, see “About the site window” on page 202.
You can use CSS layout objects to create layouts that change in size to accommodate a viewer’s browser settings. For
more information, see “About CSS layout objects” on page 245.
Some viewers may not be able to see CSS style properties if their browser doesn’t support CSS, the browser’s CSS
support has been turned off, or the browser is set to override page styles with a CSS file supplied by the viewer. Web
browser support for CSS varies greatly between both browser vendors and browser versions.
About the GoLive CSS workflow
In GoLive, you typically build cascading stylesheets with the following workflow:
1. Add styles, create links, or create a new stylesheet.
Use the CSS Editor to add CSS styles to a web page, link to an external stylesheet or create a new external stylesheet.
You can also import CSS styles from a different web page or from an external stylesheet, or create a new external
stylesheet from one of the stylesheet samples in the New dialog box.
A
B
Internal stylesheet in the CSS Editor.
A.
External stylesheet reference
B.
List of internal styles
Содержание GOLIVE CS2
Страница 1: ...Chapter 1 Copyright User Guide...
Страница 251: ...ADOBE GOLIVE CS2 242 User Guide...