Formatting tips

Paragraph and character formatting

Here are tips for some common formatting activities.

Table 3-4: Tips for common formatting activities

To

Do this

Change heading styles

Select the text or put the insertion point somewhere in the heading and use Format>Paragraph and choose a heading level

Create lists from paragraphs

Select the paragraphs or some portion of the paragraphs and use Format>Paragraph and choose a list type

Change font or font characteristics of selected text

Select the text and use Format>Character and choose the preferred font type, style, or size

Paragraph style

The paragraph styles you can select from the Paragraph dialog box are not identical to the HTML tags that are generated in the source code. For correspondences between paragraph styles and HTML tags, see “Headings and paragraphs”.

Clip window

If you regularly use a particular document template, you can store the HTML or JSP file in the PowerBuilder Clip Window (up to 2048 characters per clip entry) for easy reuse. Use Source view when your template includes a Head section or controls. In Page view, only text elements in the Body section of the page get copied to or from the Clip Window.

Redundant formatting

Both the Format menu and System Tree tend to add elements without removing elements that are redundant. By using keystrokes and the toolbar, you can do a better job of changing existing formatting without adding redundant tags. Avoid a buildup of elements that cancel each other out by checking Source view and removing redundant tags.