Quick References
ADO
ASP
CSS2
HTML
JavaScript
Jet SQL
VBScript
WML
WMLScript
WSH
XHTML
XML DOM
XSLT
Features
Knowledge Base
Tutorials
Partners
ZVON.ORG
XML
Planet Source Code
VisualBuilder
Web Design
Your HTML Source
XML/XSLT Forums
ASPAlliance
Scripts
Programmers Heaven
Tek-Tips Forums
Developer Fusion
Code Project
font
font-family
font-size-adjust
font-stretch
font-size
font-style
font-weight
PROPERTY: font-variant
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-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information