Dreamweaver allows you to work in both styles: To switch from the
default CSS style properties, choose Edit ??? Preferences (Dreamweaver ??? Preferences) and, from the
General category, deselect the Use CSS Instead Of HTML Tags option. The following section discusses
working in both modes.
Refer to Chapter 7 if you??™re new to CSS and looking for a little background on how to create
and apply styles.
Adjusting font size
Whether you??™re using CSS or
tags to format your text, you can alter its size in a variety of ways.
Both methods allow you to specify text size in either an absolute or a relative measurement. You can also
size any amount of text, from a single character to an entire page, with both techniques.
Sizing with CSS
The best-practice route for setting font size with CSS is to apply an existing style??”declared either in an
internal or external style sheet??”to a tag or selection of text. However, you can also select a value from the
Size field of the Property inspector as shown in Figure 8-14. If no style has been previously attached to the
selection, Dreamweaver automatically creates an internal style named styleN where N is an incremented
number. For example, the first style created in this fashion is named style1 and the second style2, and so
on.
Pages:
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596