In Dreamweaver, you have the ability to set the typeface, or font, for any text on your page. But not all computers or Web browsers use the same fonts. If you specify a font that your site visitor doesn't have on his or her computer, chances are the content won't look the way you intend. Because neither you nor Dreamweaver can be sure what fonts will be available to your site visitors , Dreamweaver uses font combinations (also called font groups ) to work around the problem. Font combinations allow you to provide options for the browser by creating multiple font choices. For example, a font combination could include Arial, Helvetica, and Geneva fonts, and the Web browser would render the page using the first choice available to the browser. If none of the fonts in the combination are installed, the browser will display the text using whatever font is set as the default in the browser's preferences. Dreamweaver comes with six predetermined font combinations, and you can add more as you need them. Each choice in the Font popup menu in the Property Inspector represents the first font in that font combination ( Figure 4.14 ). Figure 4.14. Choose a font combination from the Font pop-up menu in the Property Inspector.
Although Dreamweaver is reminiscent of a word processor, it's really not one, and it has the font-handling characteristics of HTML and CSS. Dreamweaver allows users to apply several font sizes from the Font Size pop-up menu in the Property Inspector, which it implements as CSS styles ( Figure 4.15 ). You also have the option of choosing the units of measurement used for font sizes ( Figure 4.16 ). Figure 4.15. Choose a font size from the Size pop-up menu.
Figure 4.16. You can also choose the units of measurement for the font size.
To set a font:
Tip
To set font size:
Tip
|