Safari versions up to and including 3 don??™t support this property.
325 Typographical Properties
font
font: { [font-style] [font-variant] [font-weight]
font-size [ /line-height ] font-family | caption |
icon | menu | message-box | small-caption |
status-bar | inherit } ;
SPEC
version initial inherited
CSS1, 2 see below YES
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL FULL
This property sets the font size and the
font family, plus, optionally, the font
style, font variant, font weight, and line
height, for an element??™s text content.
Value
The font size and font family must be
specified. The font style, variant, and
weight may be specified (in arbitrary
order) before the font size. The line
height may be specified, preceded by a
slash character, between the font size
and the font family.
Any omitted value will be set to its
initial value, not its inherited value. See
the individual properties for
information on their initial values.
Example
This style rule sets some font properties
for the element with ID "sidebar":
#sidebar {
font: bold small-caps 0.
Pages:
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483