vertical-align
Affects the vertical positioning inside a line box of the boxes generated by an inline-level element. The following values only have meaning with respect to a parent inline-level element, or to a parent block-level element, if that element generates anonymous inline boxes; they have no effect if no such parent exists. CSS2 Reference: "vertical-align" property
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?(pc|px|pt|mm|cm|in|em)
- Type based on xsd:string
- Pattern: [\+\-]?\d+(\.?\d+)?%
- Type based on xsd:token
Valid value inherit
- Type based on xsd:token
Valid value Description baseline Align the baseline of the box with the baseline of the parent box. If the box doesn't have a baseline, align the bottom of the box with the parent's baseline. middle Align the vertical midpoint of the box with the baseline of the parent box plus half the x-height of the parent. sub Lower the baseline of the box to the proper position for subscripts of the parent's box. (This value has no effect on the font size of the element's text.) super Raise the baseline of the box to the proper position for superscripts of the parent's box. (This value has no effect on the font size of the element's text.) text-top Align the top of the box with the top of the parent element's font. text-bottom Align the bottom of the box with the bottom of the parent element's font. top Align the top of the box with the top of the line box. bottom Align the bottom of the box with the bottom of the line box.
from type fo:length-percentage-or-inherit
from type fo:length
from type fo:percentage
from type fo:inherit
Used in
- Attribute group fo:vertical-align
- Anonymous type of element fo:basic-link via reference to fo:vertical-align
- Anonymous type of element fo:character via reference to fo:vertical-align
- Anonymous type of element fo:external-graphic via reference to fo:vertical-align
- Anonymous type of element fo:inline via reference to fo:vertical-align
- Anonymous type of element fo:inline-container via reference to fo:vertical-align
- Anonymous type of element fo:instream-foreign-object via reference to fo:vertical-align
- Anonymous type of element fo:leader via reference to fo:vertical-align
- Anonymous type of element fo:page-number via reference to fo:vertical-align
- Anonymous type of element fo:page-number-citation via reference to fo:vertical-align
- Anonymous type of element fo:page-number-citation-last via reference to fo:vertical-align
- Anonymous type of element fo:scaling-value-citation via reference to fo:vertical-align
- Attribute group fo:area-alignment-properties via reference to fo:vertical-align
- Attribute group fo:shorthand-properties via reference to fo:vertical-align