Putting a line
break after the
can create display anomalies in some browsers, such as unwanted space. I recommend leaving this one checked. TIP TIP CAUTION CAUTION TIP TIP 112 Laying the Groundwork in Dreamweaver CS3 Part I CSS Source Format preferences Just as the format of HTML code matters to many Web designers, so does the format of the embedded or attached CSS code. Clicking the CSS button opens the CSS Source Format Options dialog box (Figure 4-21), which offers a range of controls to stylize your style sheets. FIGURE 4-21 Control your CSS look-and-feel with the CSS Source Format Options. Most designers find that, like HTML code, CSS code is easier to read if it is indented. The Indent Properties option enables you to set the amount of tabs or spaces to use for each indentation. Readability is also enhanced by selecting the Each Property On Separate Line option, which has two related options: you can force the opening brace ({) onto a separate line if you prefer and restrict the rule to a single line if there is only one property. You??™ll also have the choice to keep all your selectors on the same line and to place a blank line between defined rules. The format of your CSS, perhaps even more than your HTML, is completely up to the designer??™s personal preferences.
Pages:
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
|