Web Developer's Virtual Library: Encyclopedia of Web Design Tutorials, Articles and Discussions


WDVL Newsletter

Active Server Pages
JSP/Java Servlets
Microsoft SQL Server
Daily Backup
Dedicated Servers
Streaming Audio/Video
24-hour Support    

jobs.webdeveloper.com

Hiermenus


e-commerce
Partner With Us















Developer Channel
FlashKit.com
JavaScript.com
JavaScriptSource
Developer Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com

internet.com
IT
Developer
Internet News
Small Business
Personal Technology

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers


July 26, 1998

Putting Style Sheets in Perspective

font-variant

Initial Value:
normal
Allowed Values:
normal
small-caps
inherit
Applies to:
all elements
Inherited?:
yes


There are two font-variant properties, normal and small-caps (Three, if you count inherit).

Normal is a font that is not labled as a small-caps font.

Small-caps specifies a small cap font. Small caps aren't smaller capital letters of the current font-family, as the name hints, but rather letters that are shaped differently from the caps yet resemble them.

<STYLE TYPE="text/css">
<!-- 

H2 { font-variant: small-caps }
EM { text-decoration: underline }
 -->
</STYLE>

</HEAD>
<BODY>
   
   <H2>test of <em>font-variant</em></H2>

test of font-variant

Font-variant is not supported by all browsers.

Additional Resources:

Putting Style Sheets in Perspective:font-style
Putting Style Sheets in Perspective: Table of Contents
Putting Style Sheets in Perspective:font-weight


Up to => Home / Authoring / Style / Sheets / Fonts




Jupiter Online Media: internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and Jupiter Online Media

Jupitermedia Corporate Info


Legal Notices, Licensing, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers