Changing Fonts and Font Sizes


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:

1.
Select the text you want to modify.

2.
Choose a different font combination from the Font pop-up menu in the Property Inspector, or choose Text > Font, and then choose the font combination from the submenu.

The text changes appearance.

Tip

  • Dreamweaver's preset font combinations include fonts that are found on nearly every computer sold in the last several years . Most of these fonts are available for both Windows and Macintosh. For example, Arial, Courier, Georgia, Helvetica, Times New Roman, Verdana, and Trebuchet are all fonts that come standard on both platforms.


To set font size:

1.
Select the text you want to modify.

2.
Choose a different size from the Font Size pop-up menu in the Property Inspector.

3.
Choose the unit of measurement you want from the Units pop-up menu, next to the Font Size pop-up menu.

The text changes appearance.

Tip

  • Some of the sizes listed in the Font Size pop-up menu in the Property Inspector are relative sizes, meaning they set a font size to be larger or smaller relative to the default font size.





Macromedia Dreamweaver 8 for Windows & Macintosh Visual QuickStart Guide
Macromedia Dreamweaver 8 for Windows & Macintosh
ISBN: 0321350278
EAN: 2147483647
Year: 2005
Pages: 239

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net