FP2000: Relative Font Size Not Retained After Changing Font (219549)



The information in this article applies to:

  • Microsoft FrontPage 2000

This article was previously published under Q219549

SYMPTOMS

When you change the font properties of text that has a relative font size applied to it, the relative font size property is removed. For example, if you have the following HTML source code in your file
<p align=center><font size="+2" face="Arial">test</font>
				
switch to normal view, select the text "test", click Font on the Format menu and change the font to Times New Roman, the code changes to the following:
<p align=center><font face="Times New Roman" size="2">test</font>
				

CAUSE

The Size box in the Font dialog box does not support relative font size values. Valid values range from 1 to 7 and Normal. FrontPage uses Normal by default.

RESOLUTION

To change the font without affecting the font size value, click the HTML tab and change the HTML source code to reflect the font you want to use.

If you changed the font by using the Font dialog box, you may need to correct the font size. To do this, click the HTML tab and change the SIZE value to the number you want.

MORE INFORMATION

The default value for font and basefont sizes in HTML is 3. If you want to have your text displayed in a larger or smaller font relative to the basefont, you can prefix the value with a plus (+) or minus (-) character. Thus, to specify a font size that is two times larger than the basefont, use the following syntax:
<FONT size="+2">Your text here.</FONT>
				
To specify a font size that is two times smaller than the basefont, use the following syntax:
<FONT size="-2">Your text here.</FONT>
				
NOTE: The basefont is essentially the default font size that a browser uses to render the text when your site is visited. Therefore if a site visitor sets the default font size to a value larger or smaller than the default basefont of 3, the text may appear much larger or smaller than intended. This option may not be available in all web browsers.

Modification Type:MajorLast Reviewed:12/2/2000
Keywords:kbprb KB219549