Visual InterDev

Font Tab (CSS Editor Window)

See Also      Tasks

Use this tab to set a specific font or generic font family, as well as the color, size, and style of text. For more information, see CSS Attributes Reference.

Note   The CSS Editor allows you to modify HTML tags supported by Microsoft® Internet Explorer version 4.0 or later. HTML tags not supported by Internet Explorer will be converted to UNKNOWN when you save the .css file. For more information, see HTML References.

Options

Font preference builder

Installed fonts

Lists the text fonts currently installed on your machine. These fonts are also listed in the Control Panel in the Fonts folder.

Selected fonts

Displays a list of the fonts to be used by the .css file. Use the Up and Down arrows to order the font names by preference. For example, if the following fonts were listed in the Selected fonts list box, the .css file would first try to use Verdana, then Tahoma, and then Arial as the font for the page.

Verdana 
Tahoma 
Arial

Color

Select to set the color for text. Select a color from the drop-down list, or choose Browse to select a custom color from the Colors dialog box.

Small caps

Select to specify whether the text appears as small capitalized letters. Leave the field blank to inherit this setting from the parent element.

Italics

Select to specify whether the text is italic. Leave the field blank to inherit this setting from the parent element.

Size

Relative

Select to set the font size smaller or larger in relation to the font size of the parent element.

For example, you can choose to decrease the font size of the <TD> tag in relation to the font size of the <TABLE> tag. The <TABLE> tag is the parent element of the <TD> tag.

Absolute

Select to set the font size to scale based on the browser font setting preferences. Choose from xx-small, x-small, small, smaller, medium, large, x-large, and xx-large.

Specific

Select to set a particular font size and unit. Negative values are not allowed. Use the percent unit to specify a font size that is based on the font size of the parent element.

Effects

None

Select to specify that any text effects inherited from the parent element or any text effects associated with a normal HTML tag are removed.

Underline

Select to specify whether to place a line underneath the text.

Strikethrough

Select to specify whether to place a line through the center of text.

Overline

Select to specify whether to place a line above the text.

Weight

Relative

Select to set the darkness of the text lighter or darker in relation to the weight of the parent element.

For example, you can choose to make the <LI> tag darker in relation to the weight of the <UL> tag. The <UL> tag is the parent element to the <LI> tag.

Absolute

Select to set the degree of bold to be applied to the font text. The weight option ranges from 100 (light font) to 700 (bold font). The normal font weight is 400.

Capitalization

Select to specify whether text is all uppercase, all lowercase, or to capitalize only the first letter of the first word.