Applying styles
You can apply styles to text and other objects in one of three different ways, depending on the style type: To apply a class style:
Note: The options in the CSS palette and the CSS commands in the Type menu vary depending on the selection in the document window. For example, if text is selected, the CSS palette displays Inline, Par, and Div options. If a table cell is selected, the palette displays one option for the <td> tag. You can choose from the following formatting options: Inline Style or <span> (CSS palette) Formats an item inline. Block Style (CSS palette) Creates a division that is disconnected from the normal flow of HTML. <p> (CSS palette) Formats an entire paragraph with a style. You don't need to select the entire paragraph; either place an insertion point in the paragraph or select a portion of it. <body> (CSS palette) Applies a style to the entire body of a page. If this option isn't listed in the CSS palette, select the <body> tag in the markup tree at the bottom of the page, or place an insertion point anywhere in the Layout Editor, except inside a table or layer. Specific HTML tags (CSS palette) Apply the style to a selected object, such as a table cell, image, or layer. For example, the <td> tag for a table cell, the <img> tag for an image object, and the <div> tag for a layer. For more information on naming HTML element styles to format tables and table content, see Formatting tables and table content with cascading style sheets. ![]() Applying a style to a paragraph and another style to a selection of table cells To apply an ID style:
<P ID="headerbox">Welcome to TravelEZ</P> |