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