Skip to Content
Real World XML
book

Real World XML

by Steven Holzner
January 2003
Beginner to intermediate content levelBeginner to intermediate
1200 pages
23h 42m
English
Peachpit Press
Content preview from Real World XML

Font Properties

Besides the text properties, probably the next most common set of style properties used is the font properties. I'll take a look at them here, starting with the font shorthand property.

font

  • CSS1 values: [[<font-style>||<font-variant>||<font-weight>]?<font-size>[/<line-height>]?<font-family>

  • CSS2 values: caption|icon|menu|message-box|small-caption|status-bar|inherit

  • Default value: Varies

  • Element support: All elements

  • Browser support: [IE3, IE4, IE5, IE6]

  • Style inherited: Yes

This shorthand property indicates font-style, font-variant, font-weight, font-size, line-height, and font-family properties. You list those properties in that order—and without commas between them, except between items in a list of alternate font families. You ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Inside XML

Inside XML

Steven Holzner
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0735712867Purchase book