
Customizing Dreamweaver
531
If you change the settings to
<p break="1,1,1,2">
, the Code view and Code
inspector will display text paragraphs in the following way:
<p>
A paragraph of text that is not indented from the left margin
and that has one line break before and after the opening p tag,
one line break before the closing p tag, and two line breaks
after the closing p tag.
</p>
<p>
Next paragraph.
</p>
(Note that the number of line breaks after the closing tag and before the following
opening tag is the greater of the two numbers specified—if you specify two line
breaks before a tag and three after, the result is three line breaks between the
closing tag and the next opening tag.)
Some tag and attribute settings include the term
namecase
, which specifies that
the tag or attribute is to be capitalized in exactly the way that you specify as the
value of the
namecase
attribute. For example,
onClick
is specified in the
SourceFormat.txt file as
<onClick namecase="onClick">
; therefore,
onClick
is
always displayed using that particular combination of uppercase and lowercase,
regardless of user capitalization preferences.
Another term used to specify capitalization is
samecase
, which specifies that the
value of an attribute is to be capitalized the same way that the attribute’s name is
capitalized. For example,
<align samecase>
indicates that if Dreamweaver
generates an
align
attribute, the value of the attribute will appear with the same
capitalization as the attribute name. It also applies to attribute names that don’t
have values, so don’t remove
samecase
from any of the attribute formatting
specifications where it appears.
The term
noformat
associated with a tag indicates that the line breaks,
indentation, and capitalization of an existing instance of the tag are never changed
to use the format specified in SourceFormat.txt. For a tag marked
noformat
, the
format specified in SourceFormat.txt is used only when creating a new instance of
the tag using Dreamweaver. For example,
<pre break="1,0,0,1" noformat>
means that if you create a new
pre
tag using Dreamweaver tools, it will use the
"1,0,0,1"
line break specification when creating it; but if you already have a
pre
tag that you created by hand whose line breaks don’t match this specification, and
you edit that tag in the Design view, the line breaks don’t change.
Any attribute not specified in the SourceFormat.txt file uses the default formatting
settings that you specify in the HTML Format preferences category.
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...