Prev | Current Page 464 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


Note that font family names may be case sensitive on some operating systems.
Generic family names, being CSS keywords, are always case insensitive.
CSS2.1 defines five generic family name keywords:
?–  cursive (a cursive script font)
?–  fantasy (a special, decorative font)
?–  monospace (a monospaced font)
?–  sans-serif (a sans-serif font)
?–  serif (a serif font)
Those generic family names are mapped to actual font families by the user agent.
Most browsers allow the user to modify this mapping via software preferences or
options.
The initial value for this property depends on the user agent.
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 versions up to and including 7 don??™t support the
value inherit.
Other Relevant Stuff
@font-face (p. 54)
Typographical Properties
The Ultimate CSS Reference 320
defines custom font properties
font-size
font-size: { absolute-size | relative-size | length
| percentage | inherit } ;
This property specifies the font size to
be applied to the text content of an
element.


Pages:
452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476