font-variant | NN n/a IE 4 CSS 1 | ||
  | Inherited: Yes | ||
Determines whether the element should be rendered in all uppercase letters in such a way that lowercase letters of the source code are rendered in smaller uppercase letters. If a font family contains a small caps variant, the browser should use it automatically. More likely, however, the browser calculates a smaller size for the uppercase letters that take the place of source code lowercase letters. In practice, Internet Explorer 4 renders the entire source code content as uppercase letters of the same size as the parent element's font, regardless of the case of the source code. | |||
CSS Syntax font-variant: fontVariant | |||
Value Any of the following constant values: normal | small-caps. | |||
Initial Value normal | |||
Example EM {font-variant: small-caps} | |||
Applies To All elements. | |||
Object Model Reference
|