SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 203 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


The Text objects behave differently, depending on whether you are working in Design view or Code view. If
you are working in Code view, Dreamweaver puts you in charge, and simply surrounds whatever text is
selected with the appropriate HTML tags. If no text is selected, the tag pair is inserted at the current text
insertion point.
In Design view, Dreamweaver also surrounds selected text with the appropriate tag pair. But in some situations,
Dreamweaver does more than blindly surround the selected text with the specified HTML tags. The
following examples illustrate the additional processing that occurs in Design view:
n In Design view the Paragraph, Preformatted Text, Heading 1, Heading 2, and Heading 3 objects
are treated as mutually exclusive. If you select text that is formatted as a Heading 1, and then you
click the Heading 2 button on the Insert bar, Dreamweaver not only surrounds the selected text
with

tags, but also removes the

tags that were there before. In Code
view, Dreamweaver simply adds the

tags without automatically removing the

tags. This is inappropriate coding and should be avoided.
64
Laying the Groundwork in Dreamweaver CS3 Part I
n When you select one or more paragraphs of text in Design view and then click the Unordered List
button, Dreamweaver creates a bulleted list by inserting
    tags around the selected
    text, as in Code view.


    Pages:
    191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215