Dreamweaver has a variety of preset font sizes, including numeric values at set intervals ranging from 9 to 36, relative values ranging from xx-small to xx-large, and options for smaller and larger. All these options use CSS to define text size. Using Dreamweaver, you can achieve a great deal of control over the text on your pages through the use of these integrated CSS features. You'll learn about more advanced CSS functionality later in this lesson.
Note There is a dramatic difference between font sizes on a Macintosh and on Windows. Macintosh computers display text approximately 25 percent smaller than the same text on Windows computerstext on a Macintosh computer is three-quarters the size of text on Windows. Users can also change the font size, which might affect your page design. Test and design your pages accordingly, taking these potential variations into account for a flexible Website that will function correctly for the widest possible range of visitors. Select the paragraph beginning with At Yoga Sangha, we're dedicated… near the top of the page. From the Property inspector's Size menu, choose 12. Leave the measurement unit at the default: pixels. Tip You can also set a default text size for the document in the Appearance section of the Page Properties dialog box. The text size of the paragraph decreases slightly and appears somewhat smaller than the rest of the text on the page that has not yet been formatted with a size. You can type a value into the Size menu or select one of the preset choices. Every time you choose an attributeor a combination of attributessuch as a size that's used for the first time on your page, Dreamweaver creates a new style that is listed in the Style menu on the Property inspector. All subsequent text that is defined at the same size will use the same style. New styles are created for each unique combination of font face, size, and color formatting. These styles have generic names that are generated automatically in a numeric order: style1, style2, and so on. You can rename an active stylethe one that displays in the Style menu on the Property inspectorby clicking the Style menu and choosing Rename. You can make a style active by placing the cursor within text that uses that style. If no size is specified for the selected text, None is displayed in the Size menu. Browsers display text that has no size definition at the default size that is equal to the value 14 in the Size menu (although it might vary from browser to browser and/or on user preferences that visitors set within their browsers). The numeric font size options that are available in the Size menu might be familiar to you because they are similar to the standard sizes that can be found in word-processing programs. Note If you want to remove font size settings and switch back to the default setting, first select the text that you want to change in the Property inspector and then choose None from the Style menu or choose Text > CSS Styles > None.
|