XSL-FO space-before and space-after 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 space-before and space-after Properties

## Definition and Usage

The space-before property specifies the value of the space-specifier for the space before the areas generated by this XSL-FO object.

The space-after property specifies the value of the space-specifier for the space after the areas generated by this XSL-FO object.

A space-specifier have the following components: minimum, optimum, maximum, conditionality, and precedence.

Minimum, optimum, and maximum are lengths that define a constraint on a distance, specifying that the distance should preferably be the optimum, in no case less than the minimum or more than the maximum.

The conditionality component specifies whether a space-specifier has effect at the beginning or end of an area. Possible values are retain and discard.

Precedence is either an integer or the special token force.

## Details

- Inherited: no
- Percentages: N/A
- Media: visual

## Property Values

Value | Description
--- | ---
space | Specifies the minimum, optimum, and maximum values for the space before or after areas generated by this XSL-FO object and the conditionality and precedence of this space. Default value is: space.minimum=0pt, .optimum=0pt, .maximum=0pt, .conditionality=discard, .precedence=0

## 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