
Editing HTML in Dreamweaver
345
Indent Size
determines the size of indents. The size is measured in spaces if Use is
set to spaces, or in tabs if Use is set to tabs.
Tab Size
determines the size of tabs (measured in character spaces).
Automatic Wrapping
adds “hard” returns once a line reaches the specified column
width. (Note that Dreamweaver inserts hard returns only in places where they
don’t change the appearance of the document in browsers, so some lines may
remain longer than the Automatic Wrapping option specifies.) By contrast, the
Wrap option in the Code view (or Code inspector) adds a “soft” return for lines
that extend beyond the width of the window.
Line Breaks
specifies the type of remote server (Windows, Macintosh, or UNIX)
that hosts your remote site. Choosing the correct type of line break characters
ensures that your HTML source code appears correctly when viewed on the
remote server. (Note that for FTP, this setting applies only to binary transfer
mode; Dreamweaver ASCII transfer mode ignores this setting. If you download
files using ASCII mode, Dreamweaver sets line breaks based on the operating
system of your computer; if you upload files using ASCII mode, the line breaks
are all set to CR LF.) This setting is also useful when you are working with an
external text editor that recognizes only certain kinds of line breaks. For example,
use CR LF (Windows) if Notepad is your external editor, and CR (Macintosh) if
SimpleText is your external editor.
Case for Tags and Case for Attributes
control the capitalization of tag and
attribute names. These options are applied to tags and attributes that you insert or
edit in the Document window, but they are not applied to the tags and attributes
that you enter directly in the Code view (or Code inspector), or to the tags and
attributes in a document when you open it (unless you also select one or both of
the Override Case Of options).
Override Case Of: Tags and Attributes
specify whether to enforce your specified
case options at all times, including when you open an existing HTML document.
When you select one of these options, all tags or attributes in open documents are
immediately converted to the specified case, as are all tags or attributes in each
document you open from then on (until you deselect this option again). Tags or
attributes you type in the Code view (or Code inspector) and the Quick Tag
Editor are also converted to the specified case, as are tags or attributes you insert
using the Objects panel. For example, if you want tag names always to be
converted to lowercase, specify lowercase in Case for Tags, and then select the
Override Case Of: Tags option. Then when you open a document that contains
uppercase tag names, Dreamweaver converts them all to lowercase.
Centering
specifies whether elements should be centered using
div
align="center"
or
center
. Both are part of the HTML 4.0 Transitional
specification, but
center
is supported by a wider range of browsers.
Summary of Contents for 38028779 - Macromedia Dreamweaver - Mac
Page 1: ...macromedia Using Dreamweaver...
Page 148: ...Chapter 4 148...
Page 296: ...Chapter 12 296...
Page 472: ...Chapter 18 472...
Page 512: ...Chapter 21 512...
Page 562: ...Appendix 562...