The JSSTag.fontStyle property corresponds to the CSS font-style property.
You can choose a value from these available styles:
normal
italic
oblique
For some fonts, the italic and oblique fonts are simply slanted versions of the normal upright fonts. This can lead to some unattractive artefacts and so the italic form is sometimes specially designed and uses a markedly different glyph. It is intended to improve readability of italic characters.
The default value for this property is "normal".
This value is inherited from its parent container element.
Deprecated for any further use. This was available only in Netscape 4.0 and is completely removed from Netscape 6.0.
See also: | style.fontStyle |
Prev | Home | Next |
JSSTag.fontSize | Up | JSSTag.fontWeight |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |