- Adding Text
- Cutting, Copying, and Pasting Text
- Dragging and Dropping Text
- Using Paste Special
- Applying Headings
- Applying Character Formats
- Applying HTML Text Styles
- Using Preformatted Text
- Adding Line Breaks
- Indenting Text
- Aligning Text (HTML Method)
- Working with Lists
- Setting List Properties
- Nesting Lists
- Inserting Special Characters
- Adding Automatic Dates
- Adding Horizontal Rules
- Finding and Replacing
- Finding Text with a Simple Search
- Performing Advanced Text Searches
- Finding and Replacing in Source Code
- Finding and Replacing with a Specific Tag
- Using Regular Expressions for Searching
- Checking Spelling
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:
- Click inside the paragraph you want to align.
Choose Format > Align > Left, Center, Right, or Justify (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