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










PROPERTY: font-style

font-style : normal | italic | oblique
 
Compatibility:  IE4+  N4+
Version: Level 1
Inherited: Yes
 
The font-style property allows you to designate a font to be normal, italic or oblique.
 
normal
 
The normal value is the default and refers to the characters being upright. By declaring normal, you can ensure that any previous declaration will not effect a selected text.
 
italic
 
If you select the italic value, and it is not available for a particular font, then the oblique value will be applied.
 
oblique
 
The oblique value slants the characters.
 
Code:
p { font-style: normal; }
p { font-style: italic; }
p { font-style: oblique; }

 
or
 
<span style="font-style: normal;">Normal </span>
<span style="font-style: italic;">Italic </span>
<span style="font-style: oblique;">Oblique </span>

 
Output:
Normal Italic Oblique


 


Copyright 1999-2005 by Infinite Software Solutions, Inc. All rights reserved.
Trademark Information