Most modern browsers seem to use a factor
of 1.2, but the result may be adjusted to match a table of font sizes.
A length specified with a unit of em or ex refers to the computed font size that??™s
inherited from the parent element. This also applies to percentages.
Negative length values and percentages are illegal.
Compatibility
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.0 1.5 1.0 7.0 6.0 5.5
Full Full Full Full Full Full Full Full Full Full
Internet Explorer for Windows up to and including versions 5.5 use an initial value
of small, rather than medium.
Internet Explorer for Windows versions up to and including 7 don??™t support the
value inherit.
font-weight
font-weight: { 100 | 200 | 300 | 400 | 500 | 600 |
700 | 800 | 900 | bold | bolder | lighter | normal
| inherit } ;
This property sets the font weight that??™s
applied to the text content of an
element.
Note that many common computer fonts
are only available in a limited number
of weights (often, the only options are
normal and bold).
Pages:
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478