Format Toolbar Band (DHTML Page Designer)

Contains buttons that are frequently used when formatting an HTML page in the designer. The items on this toolbar are available whenever you have selected a DIV or SPAN element, a hyperlink, a piece of text, or the BODY or DOCUMENT objects in the treeview or detail panes of the designer.

You can click a toolbar button once to carry out the action represented by that button. Visual Basic inserts the appropriate opening and closing HTML tags or tag attributes to your selection. These tags are not visible within the designer, but the results of formatting are rendered in the detail pane.

Toolbar Buttons

HTML Block Elements

Lists options you can use to format the selected block as a standard HTML element. You can select from the following formats: Normal, Formatted, Address, Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, Heading 6, Numbered List, Bulleted List, Directory List, Menu List, Definition Term, Definition, or Paragraph.

CSS Styles

If the current page has a style sheet defined for it, this list contains a list of the styles contained in it. You can select a style from the list and apply it to the currently selected element.

Font

Displays a list of font names that you can apply to the currently selected text.

Font Size

Displays a list of HTML font sizes (1 – 7) that you can apply to the selected text. HTML font sizes are not absolute sizes. They represent a scale of relative sizes as interpreted by the browser when it displays the text. The standard size for fonts in HTML pages is 3, with 1 as the smallest and 7 as the largest.

Bold

Toggles the appearance of the currently selected text between bold and normal.

Italics

Toggles the appearance of the currently selected text between italics and normal.

Underline

Toggles the appearance of the currently selected text between underline and normal.

Align Left

Aligns the currently selected text at the left margin.

Center

Centers the currently selected text.

Align Right

Aligns the currently selected text at the right margin.