Align text

The Common and Formatting toolbars enable you to quickly align a paragraph of text relative to either the web page or to the item that contains the text. You can also set the alignment of a paragraph by using the Paragraph dialog box when you also want to set the paragraph indentation and spacing options.

The Font dialog box enables you to set the position of one or more characters relative to the line of text the characters are within.

To set the alignment of a paragraph

  1. In Design view or Code view, in your web page, select one or more paragraphs, or to format a single paragraph, put your cursor in the paragraph.

  2. Do one of the following.

    • On either the Common or Formatting toolbar, click the Align Left Cc295284.b810d95e-8f1f-46bd-86b6-31c1f3838237(en-us,Expression.10).gif, Center Cc295284.9f40c481-0ce7-4dfc-a2ad-b6f02676e337(en-us,Expression.10).gif, or Align Right button Cc295284.120d8060-ec7b-4a7e-8ffb-cc03a5a5f8d0(en-us,Expression.10).gif.

    • On the Formatting toolbar, click the Justify button Cc295284.9978d70e-0457-4b76-8f1e-21531ec40aaa(en-us,Expression.10).gif.

    • On the Format menu, click Paragraph. In the Paragraph dialog box, in the Alignment box, click the arrow, and select an option, and then click OK.

To set the position of the text relative to the current line of text

  1. In Design view or Code view, in your web page, select the text that you want to format.

  2. On the Format menu, click Font.

  3. In the Font dialog box, click the Character Spacing tab.

  4. In the Position box, click the arrow and select an option.

  5. Click OK.

Community Additions