Publishers of technology books, eBooks, and videos for creative people

Home > Articles > Web Design & Development > Adobe Dreamweaver

  • Print
  • + Share This
This chapter is from the book

Aligning Text (HTML Method)

Dreamweaver can align text with the left margin, right margin, or center of the page. You can also justify text, which adds space as needed between words so that both the left and right margins are aligned.

The method shown here adds alignment attributes to the HTML markup. You can also use Cascading Style Sheets to align text. See Chapters 7 and 8.

To align text with HTML:

  1. Click inside the paragraph you want to align.
  2. Choose Format > Align > Left, Center, Right, or Justify (Figure 4.22).

    Figure 4.22

    Figure 4.22 Choose a text alignment from the Format menu.

    or

    Use one of the keyboard shortcuts listed in Table 4.2.

    Table 4.2. Alignment Shortcut Keys

    SHORTCUT KEY (WINDOWS)

    SHORTCUT KEY (MAC)

    WHAT IT DOES

    Ctrl-Alt-Shift-L

    Cmd-Opt-Shift-L

    Left alignment

    Ctrl-Alt-Shift-C

    Cmd-Opt-Shift-C

    Center alignment

    Ctrl-Alt-Shift-R

    Cmd-Opt-Shift-R

    Right alignment

    Ctrl-Alt-Shift-J

    Cmd-Opt-Shift-J

    Full justification

  • + Share This
  • 🔖 Save To Your Account