|
Adding a new style to a documentYou can add, edit, or remove CSS styles for use in the current document in Style Sheets dialog box [Format > Style Sheet...]. Click Add... button to open Add
Style dialog box to add a new style. The default selections((none) for Tag and Class for Style type) are usually appropriate. Click OK if you finish changing the setting. [Note] In order to copy existing style properties, select the style name to copy from the list on the bottom. Set CSS style attributes, then press OK. Newly created style will be listed under Internal styles in the Style Sheet dialog box. When you select the style, the style's CSS definition is shown in Style definition field. The new style is added to the style list. If you select the style added to the list, it will be applied to the paragraph where the cursor is.
Example - Adding Style with 10pt font size and 150% line spacingFirst of all, open Style Sheet dialog box, and press Add... button. In the Add Style dialog box, Select Class for Style Type and enter style name in the Name text box. In our example, we named it namo1. Press OK to finish. Style dialog box will appear. Enter 10 and choose point for the unit in the Size text box of Font tab, and enter 150% for Line spacing in the Text tab. The new style name, namo1 will be listed in the Internal styles box. Select namo1 and check Style definition at the bottom of the dialog box for the correct settings. Click OK to finish. Enter a paragraph in Edit window and select it. Choose namo1 style from the style list drop down menu in the Formatting toolbar. 10pt font size and 150% line spacing will be applied to the paragraph.
This document is created using Namo WebEditor 4 on August 2, 2000.
|
© 2001 Namo Interactive Inc. All rights reserved. |