Creating class stylesYou can apply classes to any number of selections in a page and most any type of content including a block of text, a single table cell, an image, and a floating box. Typical uses of classes include distinctive formatting for headings, quotes, warning notes, or other special information-carrying items that need to stand out from the rest of the text. You can also use classes to create typographical effects, such as varying font sizes or font colors within a word. Note: Don't use classes to visually structure a document. Not only will this effect be completely lost on viewers with non-CSS browsers, but even worse, they will see a completely unstructured presentation of your page. Instead, use classes for local formatting, such as for inline text or single paragraphs. To create a class style:
Important: The leading period must precede the class name, otherwise the style changes to an HTML element style. Note: In the CSS palette, the options to apply class styles will vary depending upon 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. |