You can also globally control the case of your HTML tags and their attributes. As you can see in Figure
4-20, the Code Format category is full-featured.
To examine the available options in the Code Format category, separate them into four areas: indent control,
line control, case control, and centering.
Indent Control options
Indenting your code generally makes it more readable. Dreamweaver defaults to indenting most HTML tags
with two spaces, giving extra indentation grouping to tables and frames. All these parameters can be altered
through the Code Format category of the Preferences dialog box.
110
Laying the Groundwork in Dreamweaver CS3 Part I
FIGURE 4-20
The Code Format category enables you to shape your HTML to your own specifications.
The first indent option enables indenting, and you can switch from spaces to tabs. To permit indenting,
make sure a checkmark is displayed in the Indent checkbox. If you prefer your code to be displayed flush
left, turn off the Indent option altogether.
To use tabs instead of the default spaces, select Tabs from the drop-down list. If you anticipate transferring
your code to a word-processing program for formatting and printing, you should use tabs; otherwise, stay
with the default spaces.
Dreamweaver formats both tables and frames as special indentation groups.
Pages:
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301