padding
A shorthand property for setting padding-top, padding-bottom, padding-left, and padding-right 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 paddings are set to the first value and the right and left paddings 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: "padding" 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+)?%
from type fo:lengthfrom type fo:percentage - Type based on xsd:string
- Minimum length of list: 1
- Maximum length of list: 4
from type fo:padding-width - Union of:
from type fo:inherit
Used in
- Attribute group fo:padding
- Anonymous type of element fo:basic-link via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:block via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:block-container via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:character via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:external-graphic via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:initial-property-set via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:inline via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:inline-container via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:instream-foreign-object via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:leader via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:list-block via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:list-item via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:page-number via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:page-number-citation via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:page-number-citation-last via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:region-body via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:scaling-value-citation via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:table via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:table-and-caption via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:table-caption via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:table-cell via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:table-column via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:table-row via reference to fo:common-border-padding-and-background-properties
- Anonymous type of element fo:title via reference to fo:common-border-padding-and-background-properties
- Attribute group fo:common-border-padding-and-background-properties via reference to fo:padding
- Attribute group fo:shorthand-properties via reference to fo:padding
- Type fo:region-before-after via reference to fo:common-border-padding-and-background-properties (Elements fo:region-before, fo:region-after)
- Type fo:region-start-end via reference to fo:common-border-padding-and-background-properties (Elements fo:region-start, fo:region-end)
- Type fo:table-section via reference to fo:common-border-padding-and-background-properties (Elements fo:table-header, fo:table-footer, fo:table-body)