font-variant :
normal |
small-caps
Compatibility: IE4+ N6
Version: Level 1 Inherited: Yes
The font-variant property allows you to choose between a normal font that has both upper and lower case letters
or a font that is composed of small capital letters.
normal
The normal value is the default. By declaring normal, you can ensure that any previous declaration will not effect a selected text.
small-caps
The small-caps value renders the entire text as small capital letters.
Code:
p { font-variant: normal; }
p { font-variant: small-caps; }
or
<span style="font-variant: normal;">Normal </span>
<span style="font-variant: small-caps;">Small Caps </span>
Output:
Normal
Small Caps
Copyright 1999-2001 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information
|