Adobe GoLive 9

Methods of formatting text

You can add form, color, and presentation to text in GoLive by using cascading stylesheets (CSS) and HTML text attributes.

Paragraph Styles

You can use paragraph styles to apply style to paragraphs in a flexible and customized manner, with all of the ease and formatting options of a print document. If you work with InDesign, GoLive paragraph styles may seem like a familiar feature. However, GoLive paragraph styles also write to CSS, which provides web pages with the necessary foundation to display these styles as you intend online.

Paragraph styles provide a quick way, when you are working in a site, to apply formatting to an entire paragraph. After you set up a paragraph style, you can apply it to every paragraph that you want to have that formatting. If you update the style later, the changes are automatically made to each paragraph to which you have applied the style.

Character Styles

You can also use character styles to apply style in a flexible and customized manner. Character styles are like paragraph styles, but they apply to character and word-level text. GoLive character styles write to CSS.

Character styles provide a quick way, when you are working in a site, to apply formatting to individual characters or words within a paragraph, rather than to the entire paragraph. After you set up a character style, you can apply it to every character or word that you want to have that formatting. If you update the style later, the changes are automatically made to each character or word to which you have applied the style.

Cascading stylesheets

Cascading stylesheets define text formatting attributes once and instruct web browsers to reuse the definitions whenever text on a page refers to them. (This process reduces the amount of source code that’s required for the page, which helps reduce the page size and the amount of time it takes a web browser to display the page.) Stylesheets give you more design options and control than you get with HTML text attributes. It’s easier to maintain or change your site’s appearance by using stylesheets—when you change a style in a stylesheet, the change is instantly updated in all text that refers to the style in one or more pages.

HTML text attributes

HTML text attributes define formatting that affects only the text to which you apply the attributes. You can use the formatting options in the Type menu in the application window menu bar, the context menu, and the Control panel for applying HTML structuring and formatting attributes to text. The Control panel includes paragraph formats, such as headers, font attributes, and numbered and bulleted lists. The Control panel generates CSS for these types of formatting with the exception of alignment settings. The Type menu provides these options and more, including options for creating and applying font sets. The context menu for selected text provides a quick way to apply all of these items and more.