XSL-FO margin-top, margin-bottom, margin-left, margin-right Property

## XSLFO Tutorial

XSLFO HOME XSLFO Intro XSLFO Documents XSLFO Areas XSLFO Output XSLFO Flow XSLFO Pages XSLFO Blocks XSLFO Lists XSLFO Tables XSLFO & XSLT XSLFO Software

## XSLFO Reference

XSLFO Objects

# XSL-FO margin Properties

## Definition and Usage

The margin-top property specifies the top margin of a box.

The margin-bottom property specifies the bottom margin of a box.

The margin-left property specifies the left margin of a box.

The margin-right property specifies the right margin of a box.

## Details

- Inherited: no
- Percentages: refer to width of containing block
- Media: visual

## Property Values

Value | Description
--- | ---
auto | The browser sets the margins
length | Default 0 pt. Specifies a fixed width. Note: Negative values are allowed, but there may be browser-specific limits!
percentage | Specifies a width in %. The % is calculated with respect to the width of the box's containing block

## Your suggestion:

Your E-mail (optional):

Page address:

Description:

Close [X]

## Thank You For Helping Us!

Your message has been sent to W3Schools.

Close [X]
Search w3schools.com:

## WEB HOSTING

Best Web Hosting UK Reseller Hosting Wow! $5 SSD Hosting

## WEB BUILDING

Download XML Editor
FREE Website BUILDER FREE Website Creator

## WEB RESOURCES

Web Statistics Web Validation

## SHARE THIS PAGE