3. From the Property inspector, choose a color for your text, like blue, from the color picker.
Dreamweaver adds this new property to the existing style.
4. Place your cursor in another unstyled paragraph or heading.
5. Choose the same typeface as before from the Font list. Dreamweaver creates a new style, style2,
to apply this new format. Now there are two autogenerated styles: style1 and style2.
6. Select the same color as previously applied. To avoid creating two styles with the exact same
properties, Dreamweaver applies style1 to the text and deletes style2. Now, whenever you
want text in this typeface and font, just apply the style rather than change the formatting through
the Property inspector.
As mentioned earlier, Dreamweaver looks at font, size, and color for its autogenerated styles. In
the example, I purposely left size out of the mix to demonstrate that you don??™t need all three
values set to create a style or style match. Any additional formatting set through the Property inspector, such
as alignment, is applied with tag attributes (for example, align), rather than added to the CSS style.
If certain conditions are met, Dreamweaver may modify the existing style rather than create a new one.
These conditions are
n A style named styleN??”the Dreamweaver naming convention for automatically created styles??”is
currently applied.
Pages:
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482