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

Margins, Indentations, and Alignments

These are the properties you use to work with margins, indentations, and alignments:

  • line-height— Indicates the height given to each line. Set this to an absolute measurement or a percentage value, such as 200% to create double spacing.

  • margin-left— Sets the left margin of a block element.

  • margin-right— Sets the right margin of a block element.

  • margin-top— Sets the top margin of a block element.

  • text-align— Sets the alignment of text. You can set this to left, right, center, or justify.

  • text-indent— Sets the indentation of the first line of block-level elements. Set this to an absolute value such as 10 pixels, 10px, or 4 points, 4pt.

  • vertical-align— Sets the vertical alignment of text. You can set this to baseline ...

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