W3Schools.com

XSL-FO space-before and space-after Properties

Back

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



Back
WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$7.95/mo SEO Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Free Website Templates Free CSS Templates
Make Your Own Website
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE