User Guide

293
ADOBE GOLIVE CS2
User Guide
Formatting text with both cascading stylesheets and HTML text attributes
Pages that use cascading stylesheets load in the browser window much faster than pages that are individually
formatted with HTML text attributes—but CSS is not supported by older browsers (including Netscape Navigator
3.x or earlier and Internet Explorer 3.x or earlier). To ensure that your text formatting supports older web browsers,
you may want to format your text first using particular HTML text attributes, making it look good for older browsers
that don’t support CSS, and then use the appropriate CSS element styles to format the HTML text attributes that you
used, making it look great for those browsers that support CSS.
However, some HTML text attributes rely on the font element, which is known to interfere with CSS. HTML text
formatting attributes that usethe HTML font elementinclude theFontorSizemenuinthe Type menu,and theSet
Font Size or Set Text Color menus in the Main toolbar. Because the font element can interfere with CSS, you should
avoid mixing these two formatting methods in a single document.
To avoid browser problems, you can add a browser switch script to your pages that redirects browsers to alternative
pages that youve strictly formatted with either HTML text formatting attributes or CSS.
See also
About cascading stylesheets” on page 318
About HTML element styles” on page 326
“To add a browser-switch script” on page 166
Adding and selecting text
Methods of adding text to pages
You can add text to your page by typing directly in the document window or a container item such as a table, layout
grid, or layer; copying text or a table with text from another application and pasting it into the document; or
importing text from another application into a table on the page.
See also
Adding text to tables” on page 289
About layout grids” on page 247
To type text into a page
1 Click inside the page, layout text box, table cell, or layer to place the insertion point.
2 Type the text.