Contents Previous Chapter Next Chapter 6. Format In this chapter, we explain various commands used to alter the format of documents. In particular, if you execute the Style Sheet command, you can define a style commonly used in many documents. [Format | Font] <Ctrl+L> The Font command is used to give attributes to selected text or text that is to be inserted. Styles Tab You can preview the font style through the [Sample] field in the [Font Properties] dialog box. You can change the selected text style or define a style before inserting the text. Style Set the font style to Bold, Italic, Underline, Strikethrough, or Typewriter. Superscript / Subscript: You can use the Superscript or Subscript format. Size: You can set the font size to one of seven levels. Color: You can select the font color; the default color is black. Extended Styles Tab
[Caution] Users with browsers on various platforms will visit your home page. If the platform is Windows 95 or Windows NT, the font style will be unchanged. However, if the platform is Unix or Macintosh, the font style may be changed. [Format | Character | Increase/Decrease Size] [Format | Character | Clear All] <Ctrl+E> The [Format | Character] menu has three submenus used to change character size. You can select one of seven levels as character size. If you select the [Format | Character | Increase Size] menu, the size of the selected characters will be increased by one level. If there is no selected character, the selection will affect the next characters typed. If you select the [Format | Character | Decrease Size] menu, the size of the selected characters will be decreased by one level. If there is no selected character, the selection will affect the next characters typed. If you select the [Format | Character | Clear All] menu, characters' attributes such as color, size, and style will be cleared. [Format | Paragraph and List] <Ctrl+T> The Paragraph and List command is used to change the properties of paragraphs and lists. Paragraph style can be changed to have a pre-registered form, and lists can be defined as bulleted lists or numbered lists. Select the [Format | Paragraph and List] menu, and the [Paragraph and List Properties] dialog box will appear. Paragraph Normal Changes the current paragraph to normal text. If the current paragraph is in a numbered list style, the numbers of the list will disappear when the normal style is adopted, but the indentation will still remain. You must remove the indentation by using the [Format | Decrease Indent] menu. Heading1, Heading2, Heading3, Heading4, Heading5, Heading6 Changes the current paragraph to the header-style paragraph. Heading1 is most prominent, Heading2 is second, Heading3 is third, and so on. If [Heading] is applied, the selected text is changed to Bold. Formatted Provides users with the WYSIWYG function. That is, if the user types multi-line text in WYSIWYG editor, the source file has the same multi-line text, spacing, and line breaks. Usually, [Formatted] is rendered as a fixed font. [Caution] The Formatted paragraph style is always left-aligned. Address Defines a separated multi-line set of text to be rendered for address information. Usually, the text is rendered in italics. Definition Term Identifies the separated term item in a definition list. This is typically rendered in a bold font but not indented. Definition Data Identifies the separated multi-line definition item in a definition list. Definition data should always be preceeded by at least one definition term. Bulleted List Defines a non-ordered list consisting of a number of separated multi-line elements and is usually marked by a bullet or similar symbol. A disk is the default mark. Numbered List Defines an ordered list consisting of a number of separated multi-line elements. [Caution] You can select 0 in the number field. If you select 0 in the non-numeric type list, the result will be different depending on which browser is used. Therefore, be careful when you choose the number 0. [Information] You can also use the Popup menu to change the properties of paragraphs and lists. The menu appears when you click the right mouse button on the paragraph you want to modify. [Format | Paragraph Style] <Shift+F6> The Paragraph Style command is used to set the styles of the current paragraph. A paragraph is defined as a part of a document separated by the <Enter> key, and the command is the function of CSS1. Select the [Format | Paragraph Style] menu, and the [Style] dialog box will appear. In this box, the user can set font styles, margins, indentations, line spaces, and so on. Class Sets a pre-made class into the new paragraph style. A class can only be made with the [Format | Style Sheet] menu. Choose one of the pre-made classes with the mouse and click the [OK] button. Font Sets the font of the current paragraph. You can set primary and secondary fonts. In addition to these two fonts, you can also set other fonts by entering them into the [Font] input field directly. Namo WebEditor will apply the primary font if possible. If Namo WebEditor cannot apply the primary font, it will attempt to apply the secondary font. The primary and secondary fonts can be set using the drop-down button. If you choose one of the fonts with the mouse, the chosen font is displayed in the [Primary Font] or [Secondary Font] menu. For example, if you choose "Arial" and "Century Gothic" for the primary and secondary fonts, the chosen fonts will be displayed in the corresponding fields. If you want to set the third font, enter it into the [Font] input field. After choosing the fonts, set the font size, decoration, style, and weight. If you want to cancel the setting, turn the corresponding check box off. In the dialog box, you can set the font weight by selecting a value in the [Weight] field. The larger the value is, the bolder the font is. You can also set the font size by assigning a value after selecting the unit of the assigned value. Color Sets font color and background color. You can also set an image as a background. If both a background color and a background image have been set, the background color will be ignored since a background image has priority. Text Sets the current paragraph properties. In the tab, you can set justification, indentation, line spacing, and font spacing. Indentation in this tab can have any value, while indentation in the Tools menu can only have one of the values provided by Namo WebEditor. Box Sets inside and outside margins. Generally, the two margins make no difference if there is no paragraph border. If there is a paragraph border, the margins will make a difference, as shown in the following figures. The left figure shows a paragraph whose outside margin is 30 pixels, and the right one shows a paragraph whose inside margin is 30 pixels. In each figure, a paragraph has a margin outside or inside the paragraph. Borders Sets the paragraph border properties. In the tab, you can set border width, style, and color. You can also set a position where the paragraph border is made by entering values into the "Left", "Right", "Top", and "Bottom" fields. [Format | Form] Use the Form command to give the properties of the current form or a form for the selected form fields. General Tab Information Form Name Target Frame [Hidden Field] [Clear Form] Settings Action Method Encoding Type [Format | Document] Use the Document command to set the properties of the current document. Once the properties have been set by the Document command, the setting is adopted only in the current window. That is, it is not adopted on any other opened or ready-made documents. Also, it will not affect a newly created document. Appearance Tab Document Colors All items in [Document Colors] have 16 default color lists. You can choose any color that
you want. Also, you can choose "Custom" to set a color through the color table provided
by Namo WebEditor. Background Text Hyperlink Visited Hyperlink Active Hyperlink Background Image Copy Image Sound Loop [Extended] Information tab Location Base Location Title Author Description Keywords Classification Advanced tab System Variables You can add or remove HTTP-EQUIV attributes. You can add various instructions, such as [Expire Time] or [Refresh]. The HTTP-EQUIV attributes are used to generate an HTTP response header. This header is then used by a Web server or browser. User Variables You can add or remove meta-information which is not a HTTP-EQUIV attribute. This information will not be used in the HTTP response header. Encoding The user can select various language encoding types in the [char-set] list. This information is used when a browser determines which character set is loaded. If a document is not translated well by your Web browser, check this option. [Format | Style Sheet] Use the Style Sheet command to define a new style. This command is different from the Paragraph Style command, in that once a style has been defined by the former, the style can be used repeatedly. The name of the defined style is registerd into the "Change CSS" category in the [Tools | Preferences] menu. If you click the [Edit] button, the [Style] dialog box, in which you can edit a style, will appear. If you click the [Add] button, the [Add Style] dialog box, in which you can set a style formatted as either "class", "ID", or "other", will appear. If you click the [Import] button, the [Open] dialog box, in which you can open a style file from a disk to set a new style, will appear. If you click the [Save] button, the [Save Style File] dialog box, in which you can save a currently edited style file, will appear. The saved style file must be a style file that has been edited by the Style Sheet command. Adding a style
Use the Increase Indent to increase the indentation of the current paragraph. If you click the [Format | Increase Indent] menu, the current paragraph is indented.
Use the Decrease Indent command to decrease the indentation of the current paragraph gradually. You can execute the Decrease Indent command only in a paragraph that has been indented by the Increase Indent command. [Format | Split List] <Shift+F8> Use the Split List command to split a list from the current cursor position. You can apply different bullets or numbering properties to the newly split list. In the following table, if you apply Split List command to the list in the left column, the list will be split into two lists in the right colum. [Format | Merge Lists] <F8> Use the Merge Lists command to merge two lists into one. This command is valid only when the indent levels of the two lists are equal. If the indent levels are different, you must make the indent levels equal before applying this command. [Caution] When you merge two lists, the cursor position must be in the first item of the second list. The properties of bullets or numbering of all the items will follow those of the first list. [Format | Tag] <Alt+Enter> Use the Tag command to view or change properties of the selected object or the object next to the current cursor position. If the type of the selected object changes, the menu name changes to reflect the object type. For example, if the selected object is a horizontal line, the menu name becomes [Horizontal Line]. By using this command, you can view or change object properties of various types: horizontal lines, images, form fields, applets, and so on. In the above figure, if you use [Format | Horizontal Line] command, the [Horizontal Line Properties] dialog box will appear. |