Prev | Current Page 463 | Next

Tommy Olsson and Paul O'Brien

"The Ultimate CSS Reference"

39), not
the value inherited from the parent element, as you might expect.
Value
Note that the values are separated by commas, not the spaces that are used in most
other CSS properties. Comma separators are used because the values are
alternatives??”at most, one of them will be used.
The values are either font family names or generic family names. Font family names
are quoted or unquoted strings, while generic family names are keywords and
shouldn??™t be quoted.
SPEC
version initial inherited
CSS1, 2 see below YES
BROWSER SUPPORT
Op9.2+ Saf1.3+ FF1+ IE5.5+
FULL FULL FULL FULL
319 Typographical Properties
It??™s a good idea to quote any font family name that contains spaces or other
non-alphanumeric characters. Special characters must be escaped if the value isn??™t
quoted. Whitespace characters will be ignored at the beginning or end of an unquoted
name, and multiple white space characters inside the name will collapse to a single
space.
Also, if a font family name happens to be the same as a generic family name or any
other CSS keyword, it must be quoted to avoid confusion.


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