XML technologies / XSL-FO / Reference / Attributes in XSL-FO / height
(Excerpt from "XSL-FO ― Die Referenz" by Manuel Montero Pineda & Steffen Herkert, 2016, dpunkt.verlag)
A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
Recommendation section: 7.15.6
Category: 7.15 Area Dimension Properties
Description
This attribute sets the height of the marked area. For a variable value with fixed limits, use min-height and max-height. Combined with these attributes, height is the optimum value. The dimension depends on the orientation set by reference-orientation. If the area is rotated, height becomes width and width becomes height.
Values
Relative length | The height can be specified relative to the font in em (relative to the width of the uppercase letter "M" in the font used), in ex (relative to the height of the lowercase letter "x"), or as a percentage (%) of the total page height or width. |
Absolute length | The reserved area can be specified as an absolute measurement (length). |
auto | This value determines the height of the area from the surrounding areas. |
Inherited: | yes |
Default value: auto
XSL-FO version: 1.0
Allowed in:
<fo:block-container> , <fo:external-graphic> , <fo:inline> , <fo:inline-container> , <fo:instream-foreign-object> , <fo:table> , <fo:table-caption> , <fo:table-cell> and <fo:table-row>
Support:
Conformance level | Antenna House | FOP | RenderX XEP | Altsoft XML2PDF | Compart DocBridge |
Basic | Y | Y | Y | Y | Y |
XSL-FO example:
In the output:
Excerpt from the W3C Recommendation:
More information online about
Property description in the CSS reference "height"
Rendering of the property in the XSL-FO reference