margin
A shorthand property for setting margin-top, margin-right, margin-bottom, and margin-left of a block-area or inline-area. If there is only one value, it applies to all sides. If there are two values, the top and bottom margins are set to the first value and the right and left margins are set to the second. If there are three values, the top is set to the first value, the left and right are set to the second, and the bottom is set to the third. If there are four values, they apply to the top, right, bottom, and left, respectively. CSS2 Reference: "margin" property
Attribute information
Namespace: None
Schema document: fo.xsd
Type: Anonymous
Properties: Local, Unqualified
Value
- Type based on xsd:token
Valid value inherit
- List of:
- Union of:
- 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 auto
from type fo:length-percentage-or-inheritfrom type fo:lengthfrom type fo:percentagefrom type fo:inherit - Type based on xsd:string
- Minimum length of list: 1
- Maximum length of list: 4
from type fo:margin-width - Union of:
from type fo:inherit
Used in
- Attribute group fo:margin
- Anonymous type of element fo:basic-link via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:block via reference to fo:common-margin-properties-block
- Anonymous type of element fo:block-container via reference to fo:common-margin-properties-block
- Anonymous type of element fo:character via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:external-graphic via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:inline via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:inline-container via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:instream-foreign-object via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:leader via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:list-block via reference to fo:common-margin-properties-block
- Anonymous type of element fo:list-item via reference to fo:common-margin-properties-block
- Anonymous type of element fo:page-number via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:page-number-citation via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:page-number-citation-last via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:region-body via reference to fo:common-margin-properties-block
- Anonymous type of element fo:scaling-value-citation via reference to fo:common-margin-properties-inline
- Anonymous type of element fo:simple-page-master via reference to fo:common-margin-properties-block
- Anonymous type of element fo:table via reference to fo:common-margin-properties-block
- Anonymous type of element fo:table-and-caption via reference to fo:common-margin-properties-block
- Anonymous type of element fo:title via reference to fo:common-margin-properties-inline
- Attribute group fo:common-margin-properties-block via reference to fo:margin
- Attribute group fo:common-margin-properties-inline via reference to fo:margin
- Attribute group fo:shorthand-properties via reference to fo:margin