fo:common-border-padding-and-background-properties
Common Border, Padding, and Background Properties
See http://www.w3.org/TR/xsl11/#common-border-padding-and-background-properties.
Attribute group information
Namespace: http://www.w3.org/1999/XSL/Format
Schema document: fo.xsd
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
background-attachment | [0..1] | Anonymous | If a background image is specified, this property specifies whether it is fixed with regard to the viewport ('fixed') or scrolls along with the containing block ('scroll'). CSS2 Reference: | from group fo:background-attachment |
background-color | [0..1] | fo:background-color | The background color of an element, either a <color> value or the keyword transparent, to make the underlying colors shine through. CSS2 Reference: | from group fo:background-color |
background-image | [0..1] | fo:background-image | The background image of an element. When setting a "background-image", authors should also specify a background-color that will be used when the image is unavailable. When the image is available, it is rendered on top of the background color. (Thus, the color is visible in the transparent parts of the image). CSS2 Reference: | from group fo:background-image |
background-repeat | [0..1] | fo:background-repeat | If a background image is specified, this property specifies whether the image is repeated (tiled), and how. CSS2 Reference: | from group fo:background-repeat |
background | [0..1] | Anonymous | A shorthand property for setting the individual background properties (i.e., background-color, background-image, background-repeat, background-attachment and background-position) at the same place in the stylesheet. Value is [<background-color> || <background-image> || <background-repeat> || <background-attachment> || <background-position> ]] | inherit. CSS2 Reference: | from group fo:background |
background-position-horizontal | [0..1] | Anonymous | If a "background-image" has been specified, this property specifies its initial position horizontally. | from group fo:background-position-horizontal |
background-position-vertical | [0..1] | Anonymous | If a "background-image" has been specified, this property specifies its initial position vertically. | from group fo:background-position-vertical |
background-position | [0..1] | Anonymous | If a background image has been specified, this property specifies its initial position. If only one value is specified, the second value is assumed to be 'center'. If at least one value is not a keyword, then the first value represents the horizontal position and the second represents the vertical position. Negative <percentage> and <length> values are allowed. CSS2 Reference: | from group fo:background-position |
border-before-color | [0..1] | fo:border-color | The color of the border on the before-edge of a block-area or inline-area. | from group fo:border-before-color |
border-before-style | [0..1] | fo:border-style-or-inherit | The border-style for the before-edge. | from group fo:border-before-style |
border-before-width | [0..1] | fo:border-width-length-conditional-or-inherit | The border-width for the before-edge. | from group fo:border-before-width |
border-after-color | [0..1] | fo:border-color | The color of the border on the after-edge of a block-area or inline-area. | from group fo:border-after-color |
border-after-style | [0..1] | fo:border-style-or-inherit | The border-style for the after-edge. | from group fo:border-after-style |
border-after-width | [0..1] | fo:border-width-length-conditional-or-inherit | The border-width for the after-edge. | from group fo:border-after-width |
border-start-color | [0..1] | fo:border-color | The color of the border on the start-edge of a block-area or inline-area. | from group fo:border-start-color |
border-start-style | [0..1] | fo:border-style-or-inherit | The border-style for the start-edge. | from group fo:border-start-style |
border-start-width | [0..1] | fo:border-width-length-conditional-or-inherit | The border-width for the start-edge. | from group fo:border-start-width |
border-end-color | [0..1] | fo:border-color | The color of the border on the end-edge of a block-area or inline-area. | from group fo:border-end-color |
border-end-style | [0..1] | fo:border-style-or-inherit | The border-style for the end-edge. | from group fo:border-end-style |
border-end-width | [0..1] | fo:border-width-length-conditional-or-inherit | The border-width for the end-edge. | from group fo:border-end-width |
border-top-color | [0..1] | fo:border-color | The color of the four borders. CSS2 Reference: | from group fo:border-top-color |
border-top-style | [0..1] | fo:border-style-or-inherit | The line style of a box's border (solid, double, dashed, etc.). CSS2 Reference: | from group fo:border-top-style |
border-top-width | [0..1] | fo:border-with-or-inherit | The width of the border area. CSS2 Reference: | from group fo:border-top-width |
border-bottom-color | [0..1] | fo:border-color | The border color for the bottom-edge. CSS2 Reference: | from group fo:border-bottom-color |
border-bottom-style | [0..1] | fo:border-style-or-inherit | The border style for the bottom-edge. CSS2 Reference: | from group fo:border-bottom-style |
border-bottom-width | [0..1] | fo:border-with-or-inherit | The border width for the bottom-edge. CSS2 Reference: | from group fo:border-bottom-width |
border-left-color | [0..1] | fo:border-color | The border color for the left-edge. CSS2 Reference: | from group fo:border-left-color |
border-left-style | [0..1] | fo:border-style-or-inherit | The border style for the left-edge. CSS2 Reference: | from group fo:border-left-style |
border-left-width | [0..1] | fo:border-with-or-inherit | The border width for the left-edge. CSS2 Reference: | from group fo:border-left-width |
border-right-color | [0..1] | fo:border-color | The border color for the right-edge. CSS2 Reference: | from group fo:border-right-color |
border-right-style | [0..1] | fo:border-style-or-inherit | The border style for the right-edge. CSS2 Reference: | from group fo:border-right-style |
border-right-width | [0..1] | fo:border-with-or-inherit | The border width for the right-edge. CSS2 Reference: | from group fo:border-right-width |
border | [0..1] | fo:border-combined | A shorthand property for setting the same width, color, and style for all four borders, top, bottom, left, and right, of a box. Unlike the shorthand "margin" and "padding" properties, the "border" property cannot set different values on the four borders. To do so, one or more of the other border properties must be used. CSS2 Reference: | from group fo:border |
border-bottom | [0..1] | fo:border-combined | A shorthand property for setting the width, style, and color of the bottom border of a block-area or inline-area. CSS2 Reference: | from group fo:border-bottom |
border-color | [0..1] | Anonymous | The color of the four borders. CSS2 Reference: | from group fo:border-color |
border-left | [0..1] | fo:border-combined | A shorthand property for setting the width, style, and color of the left border of a block-area or inline-area. CSS2 Reference: | from group fo:border-left |
border-right | [0..1] | fo:border-combined | A shorthand property for setting the width, style, and color of the right border of a block-area or inline-area. CSS2 Reference: | from group fo:border-right |
border-style | [0..1] | Anonymous | Sets the style of the four borders. It can have from one to four values, and the values are set on the different sides. CSS2 Reference: | from group fo:border-style |
border-spacing | [0..1] | Anonymous | The distance between the borders of adjoining cells. CSS2 Reference: | from group fo:border-spacing |
border-top | [0..1] | fo:border-combined | A shorthand property for setting the width, style, and color of the top border of a block-area or inline-area. CSS2 Reference: | from group fo:border-top |
border-width | [0..1] | Anonymous | A shorthand property for setting "border-top-width", "border-right-width", "border-bottom-width", and "border-left-width" at the same place in the stylesheet. CSS2 Reference: | from group fo:border-width |
padding-before | [0..1] | fo:padding-width-length-conditional-or-inherit | The width of the padding on the before-edge of a block-area or inline-area. | from group fo:padding-before |
padding-after | [0..1] | fo:padding-width-length-conditional-or-inherit | The width of the padding on the after-edge of a block-area or inline-area. | from group fo:padding-after |
padding-start | [0..1] | fo:padding-width-length-conditional-or-inherit | The width of the padding on the start-edge of a block-area or inline-area. | from group fo:padding-start |
padding-end | [0..1] | fo:padding-width-length-conditional-or-inherit | The width of the padding on the end-edge of a block-area or inline-area. | from group fo:padding-end |
padding-top | [0..1] | fo:padding-width-or-inherit | The width of the padding on the top-edge of a block-area or inline-area. Unlike margin properties, values for padding properties cannot be negative. CSS2 Reference: | from group fo:padding-top |
padding-bottom | [0..1] | fo:padding-width-or-inherit | The width of the padding on the bottom-edge of a block-area or inline-area. CSS2 Reference: | from group fo:padding-bottom |
padding-left | [0..1] | fo:padding-width-or-inherit | The width of the padding on the left-edge of a block-area or inline-area. CSS2 Reference: | from group fo:padding-left |
padding-right | [0..1] | fo:padding-width-or-inherit | The width of the padding on the right-edge of a block-area or inline-area. CSS2 Reference: | from group fo:padding-right |
padding | [0..1] | Anonymous | 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: | from group fo:padding |
Used in
- Anonymous type of element fo:basic-link
- Anonymous type of element fo:block
- Anonymous type of element fo:block-container
- Anonymous type of element fo:character
- Anonymous type of element fo:external-graphic
- Anonymous type of element fo:initial-property-set
- Anonymous type of element fo:inline
- Anonymous type of element fo:inline-container
- Anonymous type of element fo:instream-foreign-object
- Anonymous type of element fo:leader
- Anonymous type of element fo:list-block
- Anonymous type of element fo:list-item
- Anonymous type of element fo:page-number
- Anonymous type of element fo:page-number-citation
- Anonymous type of element fo:page-number-citation-last
- Anonymous type of element fo:region-body
- Anonymous type of element fo:scaling-value-citation
- Anonymous type of element fo:table
- Anonymous type of element fo:table-and-caption
- Anonymous type of element fo:table-caption
- Anonymous type of element fo:table-cell
- Anonymous type of element fo:table-column
- Anonymous type of element fo:table-row
- Anonymous type of element fo:title
- Type fo:region-before-after (Elements fo:region-before, fo:region-after)
- Type fo:region-start-end (Elements fo:region-start, fo:region-end)
- Type fo:table-section (Elements fo:table-header, fo:table-footer, fo:table-body)