The font weight is a continuous scale from 100 to 900. Printers can resolve the font weights to a finer granular accuracy than a screen display. Screen displays can generally cope with discriminating a difference between 100 and 200 but cannot manage any better than that due to the screen resolution.
The value can also be specified with the following keywords:
bold
bolder
lighter
normal
See also: | JSSTag.fontWeight, String.bold(), style.font |
Prev | Home | Next |
style.fontVariant | Up | style.getAttribute() |
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. |