O'Reilly logo

Dreamweaver in a Nutshell by Bruce A. Epstein, Heather Williamson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Text Formatting

Dreamweaver supports the entire gamut of HTML page- and object-formatting elements. This section describes how to format paragraphs, fonts, and lists, plus how to create horizontal rules and set page properties. Chapter 10 discusses the augmentation of these elements with CSS properties. The HTML Styles panel, discussed in Chapter 11, can also be used to set text formatting properties.

Paragraph Formatting (Alignment and Styles)

Table 2-9 lists paragraph and text formatting options. These options also work on other objects, such as images, that are embedded within a paragraph. Many of these options can also be set via the Property inspector. See Table 2-11 for character formatting commands.

Table 2-9. Paragraph formatting and alignment options

HTML

Menu access

Windows

Macintosh

<blockquote>

Text Indent

Ctrl+Alt+]

Cmd+Opt+]

Removes <blockquote>

Text Outdent

Ctrl+Alt+[

Cmd+Opt+[

<div>

Text Paragraph Format None

Ctrl+0 (zero)

Cmd+0 (zero)

<p>

Text Paragraph Format Paragraph

Ctrl+Shift+P

Cmd+Shift+P

<h1>...<h6>

Text Paragraph Format Heading 1. . .

Heading 6

Ctrl+1. . .

Ctrl+6

Cmd+1. . .

Cmd+6

<pre>

Text Paragraph Format Preformatted Text

Alt-T, F, R

N/A

align="left"

Text Align Left

Ctrl+Alt+Shift+L

Cmd+Opt+Shift+L

align="center"

Text Align Center

Ctrl+Alt+Shift+C

Cmd+Opt+Shift+C

align="right"

Text Align Right

Ctrl+Alt+Shift+R

Cmd+Opt+Shift+R

Tip

Use Preformatted Text (<pre>

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required