- Adding Text
- Cutting, Copying, and Pasting Text
- Dragging and Dropping Text
- Using Paste Special
- Applying Headings
- Applying Character Formats
- Changing Fonts and Font Sizes
- Making Your Own Font Lists
- Changing Font Color
- Applying Text Styles
- Using Preformatted Text
- Adding Line Breaks
- Indenting Text
- Aligning Text
- Working with Lists
- Setting List Properties
- Nesting Lists
- Inserting Special Characters
- Adding Automatic Dates
- Adding Horizontal Rules
- Finding and Replacing
- Finding Text with a Simple Search
- Performing Advanced Text Searches
- Finding and Replacing in Source Code
- Finding and Replacing with a Specific Tag
- Using Regular Expressions for Searching
- Checking Spelling
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 pop-up 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 to choose 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:
- Select the text you want to modify.
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.
To set font size:
- Select the text you want to modify.
- Choose a different size from the Font Size pop-up menu in the Property Inspector.
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.