Prev | Current Page 467 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"


Example
This style rule makes emphasized elements
display with a bolder weight than that of
their parent elements:
em {
font-weight: bolder;
}
SPEC
version initial inherited
CSS1, 2 normal YES
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL FULL
Typographical Properties
The Ultimate CSS Reference 322
Value
The numeric values 100??“900 specify font weights where each number represents a
weight equal to or darker than its predecessor. 400 is considered the ???normal???
weight. If the specified font isn??™t available in the specified weight, the font weight
will be mapped to a suitable existing value.
The following keywords can also be used for this property:
bold is a synonym for 700
bolder selects a font weight that??™s darker than that inherited from the parent
element
lighter selects a font weight that??™s lighter than that inherited from the parent
element
normal is a synonym for 400
Compatibility
Opera Safari Firefox Internet Explorer
9.2 3.0 2.0 1.3 2.


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